Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() and Tab Order
Message
De
20/07/1999 00:33:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00243421
Message ID:
00243424
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform