Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change BackColor in a grid
Message
From
07/08/2003 08:33:01
 
 
To
07/08/2003 07:02:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00817208
Message ID:
00817648
Views:
22
Hello Gloria.

i've tried to put it in 'grid.init' but it didn't work nicely.

I use that same code in the init of my grid and it works just fine. What problem did you have with it?

anyway, my 'lselected' field is a numeric field and i filled it with 0... am i in the right way?

Then the code should look like this:
*** Set up for highlighting ALL Selected Rows
This.SetAll( 'DynamicForeColor', ;
	'IIF( lSelected = 1, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
	'IIF( lSelected = 1, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform