|
-
Sep 21st, 2007, 06:33 PM
#1
Thread Starter
New Member
[RESOLVED] RichTextBox Help
Ok..So I used the tool box to create a RichTextBox, and I'm trying to make it so it will output multiple lines when I click the button I'm using. I want it to output something like:
Level: lvl(the variable)
Attack: atk
Defense: def
Stamina: stm
etc. in the RichTextBox..how can I do this? Or is there something else I need to use to output something like this?
-
Sep 21st, 2007, 06:53 PM
#2
Re: RichTextBox Help
Make it multiline=true.
Then use the following code
Code:
RichTextBox1.text= "Level: " & lvl & vbnewline & "Attack: " & atk & vbnewline & "Defense: " & def & vbnewline & "Stamina: " & atm
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
-
Sep 21st, 2007, 06:55 PM
#3
Thread Starter
New Member
Re: RichTextBox Help
Thanks. I feel like a nub for having asked this XD But I only started VB about a week and a half ago..
-
Sep 21st, 2007, 06:56 PM
#4
Re: RichTextBox Help
Hey we were all there once. Be sure to pull down the thread tools and mark this resolved if it is answered.
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
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
|