Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate problem
Message
 
 
To
04/06/2001 08:11:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514485
Message ID:
00514492
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform