Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does a page Init method not execute?
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01386953
Message ID:
01387073
Views:
81
It's my understanding, that Member Classes don't work well on SCX forms (ignore overriding code in the methods/events) and work correctly on VCX forms. You can save your form as a class and see if it fixes the problem.

>I found the reference you must made in the VFP online help. That is pretty dense. Could you clarify it for me.
>
>I developed my form using the form designer as an instance of one of my form classes. The pageframe is an instance of a pageframe class in a vcx. I am using MemberClass for the pages. The pages are all instantiated at design time.
>
>I note that if I put DoDefault() in the Init method of each page (not in the class definition), and set a breakpoint on that line in each page. They get hit on every page except the one that I just added.
>
>Thanks for your help.
>
>Jim
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform