Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Background Colors
Message
De
14/05/2019 05:08:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/05/2019 04:34:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01668592
Message ID:
01668594
Vues:
61
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform