Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplest way to prevent Deactivate in the page's Click
Message
De
30/06/2005 19:03:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01027764
Message ID:
01027958
Vues:
14
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform