|
-
Aug 13th, 2001, 02:17 PM
#1
Thread Starter
New Member
How do I put a carriage return in a label or text box???
Another simple question for this game I'm making, with a (hopefully) simple answer....
How do I force a text box or label control to move to the next line? One thing that comes to mind is changing the cursor insertion point, but if there's no text on the next line, then it can't move there, can it? And anyhow, there will be different amounts of text in each line.
Thanks, The_Magic_Guy
Life is good. Play chess.
-
Aug 13th, 2001, 02:19 PM
#2
PowerPoster
text1.text= line1 & vbcrlf & line2
I think there is also a word wrap property you cas set to true.
-
Aug 13th, 2001, 02:22 PM
#3
Originally posted by Muddy
text1.text= line1 & vbcrlf & line2
I think there is also a word wrap property you cas set to true.
in a regular textbox, if you want the text to wrap, set the ScrollBars property to Vertical. and make sure the MultiLine property is set to True
In a Label, make sure the AutoSize Property is set to False, and the Caption should wrap automatically
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 13th, 2001, 02:25 PM
#4
PowerPoster
Originally posted by crptcblade
in a regular textbox, if you want the text to wrap, set the ScrollBars property to Vertical. and make sure the MultiLine property is set to True
In a Label, make sure the AutoSize Property is set to False, and the Caption should wrap automatically
I think the multiline property by itself will do the trick wont it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|