-
Jan 4th, 2008, 03:48 PM
#1
Thread Starter
Frenzied Member
[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.
-
Jan 4th, 2008, 04:15 PM
#2
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
-
Jan 4th, 2008, 04:25 PM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|