-
December 8th, 2012, 02:35 AM
#1
How to add text Line By Line in Richtextbox?
Those text(ex. Line1)
will have the text "My added Text" (ex. Line1MyAddedText)
-
December 8th, 2012, 03:36 PM
#2
Re: How to add text Line By Line in Richtextbox?
The same as you would to a label or multiline text box.
Append the text and a newline
Code:
Text1.text=Text1.Text & "A Line of Text" & vbcrlf
Always use [code][/code] tags when posting code.
-
December 9th, 2012, 11:19 PM
#3
Re: How to add text Line By Line in Richtextbox?
-
December 10th, 2012, 01:29 AM
#4
Re: How to add text Line By Line in Richtextbox?
The text box was just an example, didn't want to have him miss out on looking at the properties to see which one was for the RTB
Always use [code][/code] tags when posting code.
-
December 10th, 2012, 11:18 PM
#5
Re: How to add text Line By Line in Richtextbox?
Other than Line (uses X,Y), Line Spacing, and the | character are classic examples
-
December 13th, 2012, 11:44 PM
#6
Re: How to add text Line By Line in Richtextbox?
ahm .. guys ..
be known that those are text that is already in the RTB...
and all i wanted is when i click a command button it will add text line by line
-
December 14th, 2012, 10:03 PM
#7
Re: How to add text Line By Line in Richtextbox?
What I showed would add a line to what is there. If you want to add more than one line then you might want to do so in a loop. Since you have not told us where these lines are coming from nor if you are lookign for something specific there is not much more that can be said.
To add a line of text you append it to what is already there and add a vbcrlf on the end to go to the next line or at the begining as need may be.
Always use [code][/code] tags when posting code.
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
|