Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to get back to a page from it's deactivate?
I have a pageframe with many pages each updating a seperate file. As I allow user to move from page to page, I'm checking for changes made in each page in the "DEACTIVATE" method. If I detect changes, I then go into the edit routine.
If the edit routine finds errors, what I'd like to happen is to cancel the move to another page and have the current page reactivated, i.e. don't let the user leave the current page until all the edit errors are taken care of.
I have tried to place the current page's page number in the pageframe's "ACTIVEPAGE" property from within the "DEACTIVATE" method but it didn't work. I still wound up in the new page. Any help is appreciated, thanks.
Paul
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement