Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row Colours in a grid
Message
From
17/12/2001 13:47:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00595172
Message ID:
00595247
Views:
21
Hi Robin.

>> Hi! Can someone remind me, how do I change the background colour for a row based on a value in a table? Can remember how this is done! Damn. <<

I use the code listed below to hightlight all the selected rows in my multi-select grid:
*** Set up for highlighting ALL Selected Rows
This.SetAll( 'DynamicForeColor', ;
	'IIF( lSelected, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
	'IIF( lSelected, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
Previous
Reply
Map
View

Click here to load this message in the networking platform