Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the background colour of a row in a grid
Message
From
29/09/2005 06:28:56
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
 
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:
01054396
Views:
13
You may try this... for say, your table id is 10,20,30,40,50,60...100, this will change the backcolor of grid when the table.id = 100

In form's init
Thisform.grid1.SetAll("dynamicbackcolor","IIF(MOD(table.id,100)=0,RGB(212,237,218),RGB(255,255,255))", "Column")
Best regards,

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Previous
Reply
Map
View

Click here to load this message in the networking platform