Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent user from switching pages?
Message
 
 
To
28/07/2005 18:46:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01036788
Message ID:
01036797
Views:
9
>Try putting a NODEFAULT in the pages Deactivate event.
>
>
>>Is there some simple way to prevent a user from switching pages by clicking on the tab for the page? I want to be able to do so if the information on the current page is incomplete.
>>
>>Thanks

I think the behavior is buggy. If we click on the same tab, why the Deactivate and then Activate of the page should fire? It's causing us a lot of grief, because there is no way to determine in the Page Deactivate, is it the same page or we're switching to another page. I had few threads about this problem quite recently.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform