>>No, I didn't see Fabio's code, but I now see what you're talking about. Once a control receives Focus on the page, then the Deactivate will fire if you click on that page's tab. I'll play with it abit to see what I can dig up.
>
>Exactly! We're getting close! Ok, I'm leaving in 15 minutes. Let's hope that together we can beat this ugly bug!
Hi Nadia,
I use a property, nLastPage, which I add both to the form, and to each page in the pageframe.
In each page.init
this.addproperty('nLastPage',1)
In each page.activate
this.nLastPage=thisform.nLastPage
thisform.nLastPage=2
This gives me the same info as you are looking for.