Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting a row in a grid
Message
De
16/11/2004 09:00:53
 
 
À
16/11/2004 08:09:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00961404
Message ID:
00961667
Vues:
6
Terry

in AfterRowChangeEvent of the grid
thisrecord= recno()
select PXENTRYCODES
replace all PXENTRYCODES.lSELECTED with .f.
goto thisrecord
replace PXENTRYCODES.lSELECTED with .t.
thisform.refresh
when you click with mouse on a row it will be selected

in the refresh method of the form
thisform.grid1.setall( "dynamicbackcolor", "IIF( PXENTRYCODES.lSELECTED = .F., RGB( 255, 255, 255), RGB( 255,255,128))", "Column")
Luigi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform