having different row fonts in a AbtContainerDetailsView

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

having different row fonts in a AbtContainerDetailsView

Postby ericwhitehead » Thu Feb 21, 2008 11:17 pm

Hi all,
I am working with a container detail view that has a colum that allows
you to select different size of fonts - it lets you type in 6 , 8, 10
etc...
My container details view will have a number of rows - each with their
own value for font size.
My question is - is it posible to allow each row in the
AbtContainerDetailsView to have different size fonts based on what I
select in the font size field?
I have made a start on it - I have connected the #aboutToEndEdit event
on the cell to an action on my GUI.
From there I am able to get all the cells in the row by going (self
subpartNamed: 'BLA') widget getAllCellsFor: aCallback item position:
aCallback itemPosition. Is there a way that I can dynamically update
each row?

Currently it is using the font name of the parent
AbtContainerDetailsView for all rows (items) - is there a way around
this or is it technically impossible?


Thanks
Eric
ericwhitehead
 
Posts: 1
Joined: Thu Feb 21, 2008 11:14 pm

Re: having different row fonts in a AbtContainerDetailsView

Postby jtuchel » Thu Feb 21, 2008 11:45 pm

I don't have alll the details at hand, but if my memory serves me right what you want to look at is the #visualInfoRequested Event and an override of #visualInfo: aCnrWidget clientData: clientData callData: visualInfoCallData

hth

Joachim
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest