Results 1 to 3 of 3

Thread: [RESOLVED] [2.0] Another UserControl Question

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Resolved [RESOLVED] [2.0] Another UserControl Question

    I've noticed that if I import my user control into a project and try to resize it, it doesn't resize everything (TextBox) within the user control. Of course, this makes perfect sense. I would expect it to do that.

    However, what is the optimal solution to get the TextBox within it to resize when the user control is resized? Would I just handle the Resize event and adjust the size of the TextBox to the current size of the User Control, or is there another solution, or perhaps, attribute, to handle this sort of behavior for me?

    Thanks.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [2.0] Another UserControl Question

    That property would be the Anchor
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [2.0] Another UserControl Question

    Oh, right, that too. Forgot to include that. So I should use that, eh? Thanks.

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