Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight entire row on grid
Message
From
07/01/2003 19:00:12
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00738413
Message ID:
00739115
Views:
31
Hi Nadya.

I was trying to find your message how to determine Windows color scheme to use in highlighting (to append to your response), but didn't succeed. May be you can better find this message in yours? Or re-post it again, sorry?

OK, I dug up the code that uses the API:
DECLARE INTEGER GetSysColor IN "user32" INTEGER nIndex
lnBgColor = GetSysColor( 13 )
lnFgColor = GetSysColor( 14 )

This.nRecNo = RECNO( This.RecordSource )
This.SetAll( 'DynamicForeColor', ;
	"IIF( RECNO( This.RecordSource ) = This.nRecNo, " + TRANSFORM( lnFgColor ) + ", " + TRANSFORM( This.ForeColor ) + " )", 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
	"IIF( RECNO( This.RecordSource ) = This.nRecNo, " + TRANSFORM( lnBgColor ) + ", " + TRANSFORM( This.BackColor ) + " )", 'COLUMN' )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform