CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2000
    Posts
    1

    add controls at run time

    Let me know how to add controls at run time


  2. #2

    Re: add controls at run time

    you cant create more controls at runtime but you can load more controls from an existing control... here is what i mean. If you have a text box with the index of 0, you can create more text boxes... lets say you wanted to create 2 more text boxes, then you would use this...


    load text1(1)
    text1(1).visible = true
    ' move the text box to desired pos
    load text1(2)
    text1(3).visible = true
    ' move the text box to desired pos




    enjoy.


    FaRd0wN


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

Featured