Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor and InterActiveChangeEvent
Message
De
23/08/2002 11:28:15
 
 
À
23/08/2002 10:46:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00692931
Message ID:
00692968
Vues:
14
**Try this in afterrowcolchange event of the grid
LPARAMETERS nColIndex
Thisform.nRecNo = RECNO( This.RecordSource )
This.SetAll( 'DynamicForeColor', ;
	'IIF( RECNO( This.RecordSource ) = Thisform.nRecNo, RGB( 0, 0, 128 ), RGB( 0, 0, 0 ) )', 'COLUMN' )
This.SetAll( 'DynamicBackColor', ;
	'IIF( RECNO( This.RecordSource ) = Thisform.nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )

ThisForm.Refresh()
HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform