Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the background colour of a row in a grid
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054382
Message ID:
01054434
Views:
14
>>I have a grid bound to a table. Each record in the grid has a unique ID named no_in_row i.e. 10, 20, 30. I want to change the background colour on the row to grey or red for example but only if the no_in_row=110 when in disabled mode. Is this possible?
>
>Neil
>
>Further to Aaron's soln., I guess you could also squeeze a "and thisform.Grid1.enabled = .F." into the IIF()
>
>Terry

Better to use form's property, such as thisform.lEditMode
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform