Results 1 to 3 of 3

Thread: Run Time

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    karachi
    Posts
    90
    Hello,
    Can anyone tell me how to
    create control at run time
    plz give me the example

    Bye

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    88
    Code:
        Dim objFrm As Form1
        
        Set objFrm = New Form1

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    This Will make a textbox control

    Code:
    Dim txt As TextBox
    Set txt = Form1.Controls.Add("vb.textbox", "text1", Form1)
    txt.Visible = True
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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