Results 1 to 5 of 5

Thread: [resolved] Dynamic controls...

Threaded View

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    [resolved] Dynamic controls...

    In VB6, you can add a control to a form by its name, ie
    VB Code:
    1. Controls.Add("VB.Label","SomeLabel")

    Does such a beast exist in .NET? In other words, I don't necessarily want to have to declare something as a Textbox in order to add it to the form. I would like to declare a Control, and be able to choose what the type of control it will be at run time.

    Last edited by crptcblade; May 29th, 2003 at 09:16 PM.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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