M
Martin
I have created a subclass of a textbox. In this subclass I have a property
called 'Caption'. If this property contains a value then I want to create a
Label object and add it to the controls collection of the parent of the
Textbox. So, basically both objects exist next to eachother on the same
parent.
Originally I tried the object creation inside the Property-Set, but this
seems that this is too early, because the textbox itself isn't added to the
controls collection of the parent yet.
So, I'm looking for an event, which comes after the textbox is completely
created and added to the controls collection of its parent. Judging by the
name I would think 'Finalize' would be a good one, but... The description of
this event in the help documentation sounds very mysterious, more like
something that happens when the object is being destroyed.
What would be a good event?
Tia,
Martin
called 'Caption'. If this property contains a value then I want to create a
Label object and add it to the controls collection of the parent of the
Textbox. So, basically both objects exist next to eachother on the same
parent.
Originally I tried the object creation inside the Property-Set, but this
seems that this is too early, because the textbox itself isn't added to the
controls collection of the parent yet.
So, I'm looking for an event, which comes after the textbox is completely
created and added to the controls collection of its parent. Judging by the
name I would think 'Finalize' would be a good one, but... The description of
this event in the help documentation sounds very mysterious, more like
something that happens when the object is being destroyed.
What would be a good event?
Tia,
Martin