Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simplest way to prevent Deactivate in the page's Click
Message
From
30/06/2005 19:03:19
 
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:
01027764
Message ID:
01027958
Views:
13
>>>Hi everybody,
>>>
>>>When you're clicking on the page, the Deactivate event fires. Even if you click on the same page, the Deactivate event still fire. I consider this as a bug. What logic should I implement to prevent Deactivate from happening if I'm clicking on the same page?
>>>
>>>Thanks a lot in advance.
>>
>>One solution that allows to distinguish the selection of the tabses before the deactivate exists only, but it is not immediate,
>>and it need for a class Page coordinated with a class PageFrame.
>
>Do you mean we need a special page class? It would be an overkill :(
>
>Anyway, can you post your solution? Right now I'm thinking about tabless pageframe and labels...

This may work. A lot of the forms we have now are tabless pageframes and it's a Next button to move to the next page (like a Wizard form). If the checks don't pass, we don't change the ActivePage. We don't have any other mechanism to change pages though, no direct select of other pages.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform