Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid back color change only for rows with records
Message
From
22/06/2005 09:15:03
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01025404
Message ID:
01025419
Views:
18
Hi
You can set the grid back color

Put this in grid Init
nBackColor = this.BackColor 
this.BackColor = thisform.BackColor 
this.SetAll('DynamicBackColor',TRANSFORM(nBackColor),'Column')
>Hi Jaime
>
>Thanks for your quick response.
>
>>Try setting the backcolor of the grid to the same as the form,
>
>Done
>
>My adaptation, untried
>
>
>*** Grid Refresh()
>This.SetAll( "DynamicBackColor", 'IIF(!EMPTY(THIS.CURRENTCONTROL.VALUE), RGB(255,255,255), RGB(192,192,192))',"Column" )
>
>
>I may end up with fields which are empty in the filled rows with form color?
>
>Anything that works straight on the row?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform