General information
Category:
Forms & Form designer
Title:
Stop user from leaving a page until taking specific action
I have a small application based that is accessed via a pageframe. On one of the pages the users will flag a number of items with a check box in a grid window. I want to not allow the user to select another page from the pageframe or close the application until the make a specific indication about how to process the items they selected. I have two buttons on the page to process selections or quit without processing. I want them to have to select one of the buttons before leaving. As it goes now they can just clock on another page tab. When I enter the specific page I set a public variable so I know that they are there and have made selections. I can check this value in the deactivate event and pop a messagebox but I don't know how the stop exiting from the original tab.
Next
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