Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deactivate event of a page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047210
Message ID:
00047260
Vues:
19
>Hi all,
>I've recently realised (by reading help, of course:)) that page's deactivate event not only happens when you're selecting another page within the pageframe, but also if you click repeatedly on the page's tab - because none of the objects of the page have focus. I'm not sure if this is such a great feature, but basicaly I'm looking for a place to put some code (preferably within the active page) that would be executed only if user goes to another page, without giving him a chance to trigger it and still have the same page active. TIA for any help,
>Srdjan

Srdjan, keep in mind that if you click on a button or other control not on a pageframe you will have left the page WITHOUT the deactivate method firing.

I'd put the code into the activate method. If you need to know which page you came FROM, put the active page into a form property, and update it AFTER processing your code.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform