
The .NET TextBox control is merely a wrapper for the old Win32 edit box control. This limits its functionality, and makes it difficult to customize. Even simple tasks like resizing the height of the TextBox require you to use complex workarounds to accomplish. When you resize a TextBox where some of the text is off the left edge of the control, it never repositions the text to show as much as the control will handle. To overcome this limitation, we need to modify the TextBox text selection.
|