how to access events from late bound controls [Updated]
Posted on 2001-08-22
Im creating an array of labels at run time. not a control array but truly late bound controls using (form).Controls.Add. Because they are created at run time, how can I access any of the events of this control array? Also if the controls are created as part of a UDT.
More explaination. I have a UDT that contains a label as one its elements.
a as int
oLab as Label
dim aThings(num) as thing
redim preserve aThings(newNum)
I need the ability dynamically resize an array of this UDT type at runtime.
I want to be able to handle the events of the label at runtime as if it were a normal control array that was set a design time.