>I have tried to place the current page's page number in the pageframe's >"ACTIVEPAGE" property
Try NODEFAULT in your DEACTIVATE(). It works, but gives visual side effects on pageframe's tabs, but ACTIVEPAGE still remains the same.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison