Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus() and Tab Order
Message
From
20/07/1999 00:33:52
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00243421
Message ID:
00243424
Views:
25
Hiya Sarah --

Hmmm...I am assuming you are figuring out which control to SetFocus to via the Form Init? Hmmm.......THIS.Object.SetFocus() followed by a Form.Refresh() should work fine.

>I have a form where the cursor's start point is dependant on some other information. I find out at the beginning and set the focus to the appropriate field, eg a combo box (tab order 20). The combo is selected but the cursor also appears to be on the textbox with the lowest tab order. When the user tabs around the screen they start at the beginning, rather than continuing from where the focus is.
>
>Can I manipulate this or do I have to programmatically change the tab order of all objects?
>
>thanks - Sarah
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform