Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight entire row on grid
Message
 
 
To
07/01/2003 19:00:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00738413
Message ID:
00739180
Views:
29
>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' )
>
Thanks a million, Marcia. I will send a copy of your message to myself to not loose it.

Thanks and hope the originator will also see this. Thanks for WSH approach as well.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform