Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab order for each page in a pageframe
Message
 
À
17/07/2000 12:35:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393380
Message ID:
00393512
Vues:
15
>I have a form with 3 pages and different information on each page. How can I set the tab to stop at each page. instead of using the mouse to changes pages?

ON KEY LABEL tab do pageselect in mainprog

function pageselect
on key label tab && prevent from calling function while in it
do case
case _screen.activeform.pageframe.ActivePage = 1
_screen.activeform.pageframe.page2.setfocus()
case _screen.activeform.pageframe.ActivePage = 2
_screen.activeform.pageframe.page3.setfocus()
case _screen.activeform.pageframe.ActivePage = 3
_screen.activeform.pageframe.page1.setfocus()
endcase

*. turn key back on
ON KEY LABEL tab do pageselect in mainprog

Hot keys on pageframes only work when the pageframe has the focus
Once the pagefram has lost the focus the hotkwys are gone.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform