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:
01386984
Views:
74
>From VFP help:
>
>On an .scx form, if you add instantiation code to the member class's Init event, Visual FoxPro disregards that code and only the Init code for the member class definition runs. However, with visual class library (.vcx) forms, Visual FoxPro creates a true subclass. You can safely add instantiation code for other events such as Click.
>
>>
>>Yes. This is a fairly old form. The class I am using for the pageframe has PageCount=9.
>>
>>And, yes, I am using the MemberClass for the pages of the pageframe.
>>
>>Thanks for your ideas.
>>
Sergey,

I went back and set breakpoints in the Init method of the other pages, and they all do get hit, except for the one that I just added.

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform