Color - Container Cell

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

Color - Container Cell

Postby gkipe » Wed Aug 05, 2009 12:06 pm

I want to make a cell in my container a different color ( red ) when the value is less than 0. Is there a way to do this? Or make the whole row a different color? I am using a AbtContainerDetailsView with AbtContainerDetailsColumns. Am I using wrong visual parts to make this happen?
Apologies in advance if this has been posted and answered in the forum.
Garet
gkipe
 
Posts: 24
Joined: Tue Feb 03, 2009 11:05 am

Re: Color - Container Cell

Postby marten » Wed Aug 05, 2009 12:25 pm

Have a look at class AbtContainerColorsExampleView ... that should give you a hint ... I guess.
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: Color - Container Cell

Postby gkipe » Wed Aug 05, 2009 12:35 pm

Thanks, this will work great.
gkipe
 
Posts: 24
Joined: Tue Feb 03, 2009 11:05 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

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