Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop user from leaving a page until taking specific acti
Message
From
02/06/2006 22:23:38
 
 
To
02/06/2006 18:02:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01126825
Message ID:
01126864
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform