txtDescription - is a TextBox control private const int DEF_HEIGHT = 40; using( Bitmap bmp = new Bitmap( 1, 1 ) ) { using( Graphics g = Graphics.FromImage( bmp ) ) { int iHeight = 0; // make a string a little bigger by adding "\r\nW" - this give us one line // of free space SizeF size = g.MeasureString( string.Join( "\r\n", txtDescription.Lines ) + "\r\nW", txtDescription.Font, txtDescription.Width ); iHeight += (int)( size.Height + 0.5 ); // max size if( iHeight > 200 ) { txtDescription.ScrollBars = ScrollBars.Vertical; iHeight = 200; } else { txtDescription.ScrollBars = ScrollBars.None; } // min size if( iHeight < DEF_HEIGHT ) iHeight = DEF_HEIGHT; this.Height = iHeight; } } } Good Luck Alex Kucherenko