Fabio,
Thanks for the suggestion. I've fixed the problem by some checks in the page activate that determines if it should fire based on the control that last had focus. If the parent of the control that last had focus is not the page in question, skip most of the code in the method.
I capture that info anyway so it wasn't too hard. As far as this being a bug, I agree.
Gary
>Hi Gary,
>
>this is a bug.
>It occurs only for the first pageframe on the form, also if it is not visible.
>
>Then, for a possible workaround, use another bug,
>put one catch pageframe on the form:
>
>Pageframe1.Name='CaptureActivate' with PageCount=0 and visible = .F.
>
>
>Then add your pageframe to the form, for this VFP not fire the Activate event.
>
>Fabio
>
>P.S. For a old form, add the catch pageframe and use "Send to Back" for set the 'CaptureActivate' as the first control on the form.