Link to home
Start Free TrialLog in
Avatar of Frank Freese
Frank FreeseFlag for United States of America

asked on

Text box or label

Folks,
I have a form that serves in providing the solution to a problem. The user clicks on a command box named Solution and the form appears. In the center of the form I need to list the step-by-step solution. I'm not able to get a text box or label that severs only as a contiguous stream, not step 1 <CR> step 2 <CR> etc.
How can I accomplish this?
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

In the label do
label1.Caption = "Line one" & vbcrlf & "Line two"
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Frank Freese

ASKER

thanks
forgot about multiline
You're welcome but if you're going to use a textbox, set its Locked property to True so the user can still copy it but not change it.
good tip!