Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Higlight the Grid Row
Message
De
28/02/1999 03:31:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00192281
Message ID:
00192417
Vues:
24
setting the current record number in the gotfocus event of textboxes (or whatever you have in the column) gives you better performace than setting it in the AfterRowColChange event

Arnon

>
>This.SetAll( "DynamicBackColor",;
>  "iif(Thisform.HiLiteRec=recno(This.RecordSource), ";
>  "rgb(255,255,0) , rgb(255,255,255) )", "column" )"
>
>
>Then, in the grids AfterRowColChange() event
>
>LPARAMETERS nColIndex && This line is default for grid
>
>dodefault( nColIndex ) && Allow grid to perform natural behavior
>
>
>*/ recalibrate the new record position for grid hilight
>*/ Lock screen for clean "snap" results in case large grid area
>Thisform.LockScreen = .T.
>Thisform.HiLiteRec = recno( This.RecordSource )
>This.Refresh()
>Thisform.LockScreen = .F.
>
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform