I am creating controls on the fly from button presses and
then need to have additional information stored with each control.
example:
paintbox := TPaintBox.Create(Self);
paintbox.parent := somepanel;
where can I store these
paintboxshape := rectangle
otherHolder := othervalue
etc... etc...
without creating a new component.
What I need is to store the shape that I want drawn
on the paintbox + other values in variables associated with the paintbox
I am currently using a TList array for the controls
and a duplicate array of strings for the types etc...
I would prefer a more efficient method without adding extra properties to the control.
Thanks in advance,
Regards,
Jimcart.
then need to have additional information stored with each control.
example:
paintbox := TPaintBox.Create(Self);
paintbox.parent := somepanel;
where can I store these
paintboxshape := rectangle
otherHolder := othervalue
etc... etc...
without creating a new component.
What I need is to store the shape that I want drawn
on the paintbox + other values in variables associated with the paintbox
I am currently using a TList array for the controls
and a duplicate array of strings for the types etc...
I would prefer a more efficient method without adding extra properties to the control.
Thanks in advance,
Regards,
Jimcart.