Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Page class - Page Init() not firing.
Message
From
27/10/2008 16:33:34
 
 
To
27/10/2008 16:21:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01357491
Message ID:
01357500
Views:
15
>I have created a custom pageframe class, with custom page classes, but the Init() event of the Page classes is not firing.

I've just learned a little bit more.... Init() code in the class is firing. It's the Init() code that I place in the .SCX file that is getting ignored. I learned about that after some more searching (I did search this out before and after I posted). I found this link to explain it... http://msdn.microsoft.com/en-us/library/ae2k913t(VS.80).aspx


That's fine. So, how do I work around this?

At the time the class Init() runs, even the custom properties do not habe their .SCX-applied values in place yet. I need to do some work based on those customer properties.

Can I re-call the Init() even from the PageFrame or Form init()?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform