CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: WoF

Search: Search took 1.15 seconds.

  1. Re: [RESOLVED] Create an object durring runtime in code

    You are welcome.
    I didn't know. I would have expected, after Controls.Add "VB.TextBox", "Text2", you could use Text2.Visisble or whatever throughout your code, but come to think of it, that is not...
  2. Re: Create an object durring runtime in code

    Dim t1 As TextBox
    Set t1 = Controls.Add("VB.TextBox", "Text2")

    or simply


    Controls.Add "VB.TextBox", "Text2"
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured