Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Background Colors
Message
From
14/05/2019 05:08:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/05/2019 04:34:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01668592
Message ID:
01668594
Views:
60
>Hi All
>
>I have a grid populated from a cursor. The cursor has a logical field which I use in the column's DynamicBackColor property to highlight the background of the row or not as the case may be.This is working fine when I first display the table.
>
>I then change the logical field for the current row of the grid but cannot find a way to trigger a refresh of the columns DynamicBackColor so that the highlight changes appropriately. Issuing a Grid.Refresh does not work. Any suggestions?

Depends on how do you change the value. If it involves a checkbox in the grid, the value doesn't really get changed immediately, but after some event (dunno which one, it's been 15 years ago when I fought this). So I'd just make sure that the value is written into the cursor - fire the chekcbox's valid, or issue a replace - before the refresh.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform