>Hi everybody,
>
>I spent several hours on this and all in vain. When I set the pageframe MemberClass to my page (same class library as pageframe), it gives me an error when I try to edit the form.
>
>I did it by several ways:
>
>1. Hacked the form (tried a few times) - didn't work.
>
>2. On the existing pageframe changed MemberClass (so destroyed all objects), then copied all objects from the copy of this form correct pageframe to new pages.
>
>I can not open this form either.
>
>I guess I need to give up and write code in every page.
The other funny thing (BTW, all pages seem to work now), that NODEFAULT in page deactivate doesn't work. The focus doesn't stay on the page.
The pageframe is tabless and also I have an ActiveX control on the form.
So, since I only have 2 extra controls on the form, I better handle my logic in these 2 controls instead of the page. But since I already changed the pageframe to use my custom page I'll made this code conditional - I'll keep it for the pageframe with pages.
If it's not broken, fix it until it is.
My Blog