Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formset
Message
 
À
08/01/2002 14:02:23
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00602118
Message ID:
00602202
Vues:
17
>I have a formset in VFP 7.0 with about 14 forms with text boxes and command buttons. I do not want my user to be able to tab between forms. If there a way to prevent this from happening?

If the reason of using formset was to share the datasession, the formset can be replaced with one form with a tabless pageframe (pageframe.Tabs = .F.) with delayed page instantiation. I.e., you place controls not on the page, but into a container class that is added to the page only when the page is activated the first time.

Advantages:
1. You use one form and one datasession.
2. Only first page controls are loaded when the form loads, which can significantly speed up form instantiation in your case. Other pages' controls will be loaded only when you need to activate that page.
3. Users can not switch pages as there are no tabs (you still can switch pages programmatically)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform