>I have a framework class where I had been using a Container base class. I just encountered a situation where I want a some code in the container to run before the INIT of one of the members I add in the constructor of a derived object. This seems just like the use of Load in a form.
>
>Problem is Container does not support Load. I noticed that FormSet does, and I'm sure that is much lighter weight than Form. Does it seem like reasonable practice to use FormSet for this, even though what I am doing has nothing to do with FormSet's (or Forms, for that matter)?
>
>TIA,
>
>-- Randy
You are able to add by code a object to a container using NOINIT
[ADD OBJECT [PROTECTED] ObjectName AS ClassName2 [NOINIT]
[WITH cPropertylist]]...
Marcel
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only