Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending Records in Grid and Setfocus()
Message
From
16/02/1999 14:28:07
 
 
To
16/02/1999 14:22:22
Rene De Montbrun
Customer Contact Inc.
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00187925
Message ID:
00188083
Views:
21
>>>Does anyone know how to set focus to a record that you append to a grid? I am using an Add button with APPEND BLANK and then myGrid.Setfocus().

I usually just do an append blank and then setfocus to the grid, and I'm on the blank record. For a simple example:
append blank
_screen.forms(1).grid1.setfocus()
took me to the bottom of the grid (and the blank record).
Is there something in how your tables are related that's complicating things?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform