>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