Avatar of Eric Burton
Eric Burton
Flag for United States of America asked on

URGENT VB.NET - Need to resize textbox automatically without using MultiLine/ScrollBars properties

Hello,

I was wondering if it was possible to have a textbox expand in width and height as the user types.  I know that you can set the Multi-Line property to True and set the ScrollBars property, but my client doesn't want to see or use the scrollbars.  Should I use a FlowLayoutPanel or a TableLayoutPanel?  Do I have to set Anchoring properties?  Please see the attached example file.

Thanks for your help!

Expanding TextBox Example
Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment
Ark

8/22/2022 - Mon
SOLUTION
Éric Moreau

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Ark

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck