Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab on a Page Frame
Message
 
À
01/08/2001 13:34:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00538420
Message ID:
00538597
Vues:
9
>I have noticed that when you press TAB on the last object on a Page in a pageframe, the tab at the top is outlined, not the
>first object. If you press SHIFT-TAB on the 1st item, the last item gets the focus. Why? Is there an easy way to stop the tab
>at the top of the page from 'gettign the focus'?

You can use the Activate method to SetFocus() to the first object. You can either hard-code this for each page (not a good idea), or you can create a method in your application object that searches through the objects on the current page, and sets the focus to the object with thelowest TabIndex property that also has a SetFocus method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform