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:
00514490
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform