Newbie: Textbox resize at design time inside UserControl possible?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pucara (Pucara_at_discussions.microsoft.com)
Date: 10/19/04

  • Next message: Ken Halter: "Re: Newbie: Textbox resize at design time inside UserControl possible?"
    Date: Tue, 19 Oct 2004 12:09:01 -0700
    
    

    Hi all,

    I'm new to .NET and very well impressed in several ways. However, I have
    find a problem that seems simple but I can't resolve. I want to create a very
    simple usercontrol that includes a label and a textbox. I noticed that I
    always
    need to create a label every time I created a textbox...

    Everything works fine, but I would like to be able to resize the label and
    textbox at
    design time (not resize the entire user control). I have tried different
    approachs without success... I don't want to create a custom desginer for my
    usercontrol, I
    just want to expose the "normal" label and textbox designers...

    Is that possbiel? My approach is wrong?

    Any ideas are welcome,

    TIA
    Pucara.


  • Next message: Ken Halter: "Re: Newbie: Textbox resize at design time inside UserControl possible?"

    Relevant Pages

    • Re: Newbie: Resize textbox at design time inside usercontrol possible?
      ... you could place 2 propertys on your usercontrol to resize the textbox at ... the same goes for the label. ... width of the textbox to anything smaller then 20. ... > textbox at design time. ...
      (microsoft.public.dotnet.languages.vb)
    • Newbie: Resize textbox at design time inside usercontrol possible?
      ... want to create a very simple usercontrol that includes a label and a textbox. ... textbox at design time. ... usercontrol, I just want to expose the "normal" label and textbox designers... ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Textbox with label class
      ... Looked at that path - but the result was that I could not align the ... side of the original textbox, a contol (with embedded label) would align the ... design time field moves/resize/deletes etc - but at this point my head is ...
      (microsoft.public.dotnet.framework.windowsforms)
    • how to resize controls at runtime
      ... I want to be able to resize it at ... just like one would at design time. ... assume that i've a textbox control and want to be able to resize it at run ...
      (microsoft.public.dotnet.framework.windowsforms.controls)
    • Re: Write, Move, Delete text on PictureBox
      ... Simply place a Label control ... Now, whenever you want create a Label, you would just use ... TypeOf FormOrPictureBox Is PictureBox Then ... Public Sub TransferTextFromTextBoxToLabel(TB As TextBox, ...
      (comp.lang.basic.visual.misc)