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:21:04
 
 
To
02/06/2006 17:17:02
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:
01126831
Views:
16
I think you are right. Another developer actually created the forms and he seems to like pageframes. I'd like to not change his mode of operation if there is a way around the problem. If not, I'll move it to a modal form.

Thanks for your suggestion.

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform