Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and Hebrew Windows 98
Message
 
 
To
08/04/2002 09:27:22
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00641662
Message ID:
00642147
Views:
15
>I put the setall() in the init event of the grid.
>
>The expression is as follow:
>
>this.setall("DynamicBackColor", "this.setbackcolor()", "Column")
>
>setbackcolor is a function I add to the grid class.
>
>
>setbackcolor()
>
>if status.selected
> return RGB(255,0,0)
>else
> return RGB(255,255,0)
>endif

Try w/o method call.
this.setall("DynamicBackColor", ;
  "IIF(status.selected, RGB(255,0,0), RGB(255,255,0))", ;
  "Column")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform