Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BackColor
Message
From
09/11/2009 13:13:48
 
 
To
08/11/2009 22:52:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01433792
Message ID:
01433879
Views:
32
I finally figured this out. I was 'overwriting' the column backcolor values that I was setting in my form with the following code that I had put in my sub-classed grid:

This.SetAll( 'DynamicForeColor', ;
'IIF( RECNO( This.RecordSource ) = This.p_nRecNo, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
'IIF( RECNO( This.RecordSource ) = This.p_nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )

I guess I don't understand completely the differences between the BackColor and DyanamicBacakColor properties.

Regards,
Alan
Previous
Reply
Map
View

Click here to load this message in the networking platform