Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid has me stumped yet again
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01503112
Message ID:
01503329
Views:
118
Dennis,

I also tried the second method and it worked just as well. I decided to leave it that way since any other devs who look at it could see it was a focus issue.

Thanks again.

Jon

>Jon,
>
>Glad to have helped. Not an elegant solution though. Personally, I prefer the second way. But, that is just me. =)
>
>Dennis
>
>
>>Dennis,
>>
>>Adding the up-arrow in the keyboard buffer did the trick! Thank you so much.
>>
>>Jon
>>
>>>Jon,
>>>
>>>Ah. Had exactly the same situation a few weeks back.
>>>
>>>Two ways. After re-populating the grid's cursor, do either of the following:
>>>
>>>ThisForm.myPageFrame.myPage.myGrid.Refresh()
>>>KEYBOARD "{UPARROW}"
>>>
>>>or..
>>>
>>>ThisForm.myPageFrame.myPage.myGrid.Refresh()
>>>ThisForm.SomeOtherControl.SetFocus()
>>>ThisForm.myPageFrame.myPage.myGrid.SetFocus()
>>>
>>>
>>>Dennis
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform