Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent a page of a pageframe loading
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00721464
Message ID:
00721555
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks Nadya as I said in my original message I was trying not to have to do the delayed instantiation bit.
>
>But I agree that the controls appear to be loading even if the page isn't so I may have to go that route after all.
>
>I guess that returning .F. in the controls init is already to late and it will have loaded?
>

Returning .f. from controls Init should be enough, but how many controls do you have on each page? If few, you can probably return .f. from controls Init, otherwise I would prefer delayed instantiation.

>>>Thanks for the replies but I think I answered it myself, I've just returned .F. in the init() of the appropriate pages.
>>>
>>>>Caroline
>>
>>I think, controls on the page still go through their Init even if you return .f. in page Init.
>>
>>You can design container with page controls for all pages and add these containers in the run-time. That's called delayed instantiation and I used this technique in few projects...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform