Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight text in a grid cell
Message
From
24/06/2002 11:08:30
 
 
To
24/06/2002 11:03:04
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00671643
Message ID:
00671646
Views:
20
How about setting the backcolor and forecolor of the grid
*** Set up for highlighting current row
This.nRecNo = RECNO( This.RecordSource )
This.SetAll( 'DynamicForeColor', ;
	'IIF( RECNO( This.RecordSource ) = This.nRecNo, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
	'IIF( RECNO( This.RecordSource ) = This.nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform