>Hi all,
>I've recently realised (by reading help, of course:)) that page's deactivate event not only happens when you're selecting another page within the pageframe, but also if you click repeatedly on the page's tab - because none of the objects of the page have focus. I'm not sure if this is such a great feature, but basicaly I'm looking for a place to put some code (preferably within the active page) that would be executed only if user goes to another page, without giving him a chance to trigger it and still have the same page active. TIA for any help,
>Srdjan
Srdjan, keep in mind that if you click on a button or other control not on a pageframe you will have left the page WITHOUT the deactivate method firing.
I'd put the code into the activate method. If you need to know which page you came FROM, put the active page into a form property, and update it AFTER processing your code.
HTH
Barbara