Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Higlight the Grid Row
Message
From
28/02/1999 03:31:29
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00192281
Message ID:
00192417
Views:
23
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.
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform