Is there any way to control a TextBox Size property's Height? Besides making
it Multiline?
Everytime I set the Size, it always reverts back to Size.Height = 20 (or
whatever value based on the current font, I think). I've tried setting the
Min/Max Size but that only seems to hold during design time.

Re: TextBox Size.Height by Jared

Jared
Tue May 09 22:56:58 CDT 2006

I use multiline textbox as sizable alternative. Never considered the side
effects.


"Mark Atkinson" <MarkAtkinson@discussions.microsoft.com> wrote in message
news:7E68A7F0-0CB9-4E79-8C5E-5CA196F06348@microsoft.com...
> Is there any way to control a TextBox Size property's Height? Besides
> making
> it Multiline?
> Everytime I set the Size, it always reverts back to Size.Height = 20 (or
> whatever value based on the current font, I think). I've tried setting the
> Min/Max Size but that only seems to hold during design time.



RE: TextBox Size.Height by MarkAtkinson

MarkAtkinson
Fri May 26 12:03:02 CDT 2006

Figured it out based on another post in this forum.
TextBoxBase.AutoSize = false

However, things might get messy if you view the textbox in designer.

"Mark Atkinson" wrote:

> Is there any way to control a TextBox Size property's Height? Besides making
> it Multiline?
> Everytime I set the Size, it always reverts back to Size.Height = 20 (or
> whatever value based on the current font, I think). I've tried setting the
> Min/Max Size but that only seems to hold during design time.