Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change grid row color dynamically
Message
From
01/04/2004 09:07:43
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00891457
Message ID:
00891460
Views:
22
Hi Soykan!

>Hi All,
>i've form with a grid.grid contains debit,credit,rest fields. i wantto show the rows on the grid with a different backcolor when the rest value=0 .
>how can i do this ?
>TIA

Try this:
Local loColumn
For Each loColumn In thisForm.myGrid
   loColumn.DynamicBackColor = [Iif(myTable.rest = 0, rgb(x, y, z), rgb(x1, y1, z1))]
EndFor
I think that this work!
Bye.
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform