Dynamically creating elements of control array **Resolved**
Here is what I have. I have a form with a PictureBox and a vertical scroll bar. On top of the PictureBox I have a OptionButton that is set to graphical type. It is as follows.
optButton(0) 'This is the only optButton control drawn on the form at runtime
It is element 0 of the control array optButton. How can I programatically create the 1,2, and 3 elements of the control array without physically drawing the controls on the form at designtime?
The elements must be created at run-time and only if needed, that way I can create 1 if needed or 100, whatever the case maybe.
Thanks.