Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change the backcolor of one cell of the grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00269648
Message ID:
00269663
Vues:
18
Hi Cathy,

>How can I keep the last active cell highlighted when the user leaves the grid?

In the AfterRowColChange, try this:
Thisform.nRecord = recno(This.RecordSource)
This.SetAll('DynamicBackColor', '"rgb(255,255,255)"', 'Columns')
This.Columns[nColIndex].DynamicBackColor = "iif(thisform.nRecord = recno(This.RecordSource), rgb(0,0,255), rgb(255,255,255))"
You will probably need to tweak this a little.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform