Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
PageFrame
Divers
Thread ID:
00118771
Message ID:
00118771
Vues:
56
Is there a way to stop the user from moving from one page in a pageframe to another until certain conditions are met on the current page ?
Example : Say you had a property on your form that is true or false with default value of .f., when the user completed certain functions on page1 the property is set to .t., then they could move to another page, if the property were .f. they could not move to other page.

Right now I am using the Activate of each page to check the form property for .t. or .f. and if .f. warning the user and setting the Parent.ActivePage to page they came from so they are returned to complete whatever ... This also allows them to use other controls
on form not contained in pageframe without firing off a warning.

Thanks CB!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform