Results 1 to 8 of 8

Thread: Dynamically creating elements of control array **Resolved**

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2002
    Posts
    352

    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.
    Last edited by easymoney; Nov 9th, 2002 at 03:48 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width