>How do you highlight a field in a GRID? I want
>my users to browse a GRID and pick the record they
>want with a highlight bar.. thanks
Use the DynamicBackColor Property in the INIT method of the grid like this:
SELECT myTable
GO TOP
THISFORM.nRecTable= RECNO()
THIS.setall("Dynamicbackcolor", "IIF(RECNO()==THISFORM.nRecTable,RGB(64,128,128),RGB(255,255,255))","Column")
and, in the afterRowColChange method of the grid:
SELECT myTable
THISFORM.nRecTable= RECNO()
hope this help...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement