I have a routine in the afterrowcolchangeof the grid that goes (WBAKS.PRG)
do case
case condition=1
return "RGB(255,0,0)"
case condition=2
return "RGB(255,128,128)"
case condition=3
return "RGB(0,255,0)"
case condition=4
return "RGB(0,255,255)"
otherwise
return "RGB(255,255,255)"
endcase
The grid has an INIT event for SETALL on dynamicbackcolor
Works a treat for me
Sytze
On 1/13/08, MB Software Solutions <[EMAIL PROTECTED]> wrote:
> Ed Leafe wrote:
> > On Jan 12, 2008, at 9:43 PM, MB Software Solutions wrote:
> >
> >
> >> My user wants to make the grid row backcolor a certain color based
> >> on a
> >> data criteria for that record. I was just going to create a textbox
> >> called BackColor and let them enter a value, instead of 3 values for
> >> RGB, but neither is very user friendly. What would you do....use
> >> GETCOLOR perhaps to make it easy for them?
>
--
Sytze de Boer
Kiss Systems
Ph: 64-7-8391670
Mob:021 937611
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.