Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame
Message
De
17/07/1998 15:23:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00118771
Message ID:
00118781
Vues:
22
>>>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!!!
>>
>>Page.Enabled=.F./.T.
>
>
>Are you saying to set other pages enabled to .f. until the conditions are met ?

yes, it will effectively prevent users from clicking on wrong tabs.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform