Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change BackColor in a grid
Message
From
06/08/2003 06:12:51
 
 
To
06/08/2003 05:45:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00817208
Message ID:
00817214
Views:
21
>dear all,
>
>I have a grid with 3 columns. The third column is check box. How can I change the BackColor and ForeColor of row that is selected by clicking the check box?
>
>Love,
>Gloria

Gloria,
&& init of Grid

if( !DoDefault() )
    return .F.
endif

local s

s = [iif(] + this.RecordSource + [.FieldNameOfCheckBox, rgb(255,255,128), rgb(255,255,255))]

=this.SetAll('DynamicBackColor', s, 'Column')
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform