Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus to first cell in grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00262413
Message ID:
00262418
Views:
11
>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.

I use this

thisform.grid1.SetFocus()
*-- put the focus on the first column of the line just added
thisform.grid1.ActivateCell(thisform.grid1.ActiveRow,1)

You may or may not need the first line.
Previous
Reply
Map
View

Click here to load this message in the networking platform