Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop user from leaving a page until taking specific acti
Message
De
02/06/2006 22:23:38
 
 
À
02/06/2006 18:02:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01126825
Message ID:
01126864
Vues:
20
>Thanks for the suggestion Brandon, that worked.
>
>>On each page of the pageframe you could be code in the activate event to check for the desired condition.
>>
>>or
>>
>>You could disable the other pages until the necessary action has been taken
>>thisform.pgfPageFrame.page2.enabled=.F.
>>
>>Then, when they perform the desired task you could
>>thisform.pgfPageFrame.page2.enabled=.T.

Or simpler yet, just add something like this to the desired Page Deactivate Event:
If ActionTaken = .F. Then
   Messagebox("Please ...")
   Nodefault
Endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform