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 17:17:02
 
 
To
02/06/2006 17:01:50
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:
01126827
Views:
22
Is there a reason it has to be a page frame? What you've described is a good candidate for a modal form.

>I have a small application based that is accessed via a pageframe. On one of the pages the users will flag a number of items with a check box in a grid window. I want to not allow the user to select another page from the pageframe or close the application until the make a specific indication about how to process the items they selected. I have two buttons on the page to process selections or quit without processing. I want them to have to select one of the buttons before leaving. As it goes now they can just clock on another page tab. When I enter the specific page I set a public variable so I know that they are there and have made selections. I can check this value in the deactivate event and pop a messagebox but I don't know how the stop exiting from the original tab.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform