Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate problem
Message
From
04/06/2001 23:53:24
 
 
To
04/06/2001 08:11:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514485
Message ID:
00514938
Views:
9
>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 went a similar route as previous comments.. but I had one extra flag put in on a page frame... lIsActiveError... once the message is posted, the lIsActiveError flag went to .t.; however, if another page was activated, the activate() for the new page reset the old page lIsActiveError. Thus, when the user did return to the page, they would get a friendly 'hey, you need to be reminded of this again...'.
Previous
Reply
Map
View

Click here to load this message in the networking platform