Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus to first cell in grid
Message
From
08/09/1999 11:01:46
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00262413
Message ID:
00262419
Views:
16
>How do I set the focus to row 1 column 1 in a grid? The cell which gets the focus now, is the cell which last had the focus on the previous record.
>
>Thanks in advance.

One way would be to keep track of the current record RECNO(). In the grid AfterRowColChange event, test whether the row has changed. If it has, reset the current row indicator and set focus to the first column in the grid.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform