Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate problem
Message
 
À
04/06/2001 08:11:44
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514485
Message ID:
00514490
Vues:
12
One of the solution is:
1. In form init method create a new property like:
this.addproperty("pageactivated",.f.)
2. In page activate method use condition like:
if not thisform.pageactivated
* show notice
thisform.pageactivated=.t.
endif
3. in all others page deactivate methods set thisform.pageactivated=.f.

Hope this help

>>>>>>>>>>>>>>>> your message below>>>>>>>>>>>>>>>>

I have a multipage form. On one page I want to conditionally throw up a notice when the page is selected. The notice is a modal form. I'm doing the form from the page's Activate method. This works fine except when I close the notice form, the page's Activate is triggered again, resulting in an endless loop. How can I display the notice only once when the page is selected?

Thanks!
Allen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform