I need to control the focus of a grid field.
I use Windows XP and Visual FoxPro 7.0 SP1
Here is what happens. I have a grid built on a temp table. The user can build an invoice by clicking button options that sequencially fill the fields and then step down the invoice as the order is filled. However, when the user decides to change an entry and goes back and clicks on the field to change and then clicks a button to re fill that field, the field fills and the focus jumps to the bottom of the grid. I want the focus to remain where the refilled field is located.
Here is the Click code I am trying in the Textbox of the grid.
Local RecordPointer
RecordPointer = Recno()
Goto RecordPointer
This.SetFocus
This.Refresh
Can you help me solve this?
Grady McCue
foxunc@telus.net
I ain't skeert of nuttin eh?
Yikes! What was that?