Attachment 30719
Those text(ex. Line1)
will have the text "My added Text" (ex. Line1MyAddedText)
Printable View
Attachment 30719
Those text(ex. Line1)
will have the text "My added Text" (ex. Line1MyAddedText)
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
to a RTB?
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 ;)
Other than Line (uses X,Y), Line Spacing, and the | character are classic examples
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 :)
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.