Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active record in grid
Message
De
20/10/1997 10:23:34
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
 
 
À
20/10/1997 10:19:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055505
Message ID:
00055507
Vues:
27
>This question has been asked a few times before, but since I have never had to do it, I don't remember how.
>I need to highlight the entire row of a grid when the record is selected. What do I put in the dynamicbackcolor to tell the control that it's record is selected?

Use the following command in the init method of the grid!
THIS.SetAll("DynamicBackColor","IIF(THISFORM.grdRecNo == RECNO(),RGB(128,128,128),RGB(255,255,255))","Column")

In the ActiveRowColChange method
THISFORM.grdRecNo= RECNO("myTable")
THIS.Refresh()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform