Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus on tab order
Message
De
26/02/2003 08:38:47
 
 
À
26/02/2003 08:03:33
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00757997
Message ID:
00758011
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
>What is the code that I use to set focus onto the tab order #1 item on a form? In otherwords I have an add button (class) that when the user clicks on it then the set focus is on the (whatever control it might be) tab order #1.

Jaime's code should work fine, but remember that some controls (ie - ole controls) may not have a tab index, so make sure you test before calling on the tabindex property.

For instance:
If Pemstatus(lCurControl,"TabIndex",5)
...
...
Endif
Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform