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:
00514492
Vues:
12
>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

I would set a Form property flag -- .T. or .F. When you display the message, set the property to .F. When the condition changes where the message needs to be displayed again when the page is activated, set the property to .T. In the Activate of the page, only display the message when the property is .T.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform