Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving recordmark in Grid using command button?
Message
From
26/07/1999 07:42:27
 
 
To
26/07/1999 04:41:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00245970
Message ID:
00246003
Views:
16
>All,
>
>Is there any possibility or any tips of how to move the recordmark in Grid using command button. Eg, when we browse through the records using Previous and Next commandbuttons, we might want the user to know from the grid which record is currently active.
>
>Thanks.
>
>Gan

In the Button Click event, something like:

THISFORM.LOCKSCREEN = .T.
Skip 1
&& Do some testing for EOF() here
THISFORM.MyGrid.Refresh
THISFORM.MyGrid.SetFocus
THIS.SetFocus
THISFORM.LOCKSCREEN = .F.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform