General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only