|
-
May 22nd, 2007, 11:59 AM
#1
Thread Starter
PowerPoster
[RESOLVED] blank line at end in richtextbox
I trying to add sentences on a new line to the end of text in a richtextbox
Like this:
with rtb
.selstart = len(.text)
.seltext = vbcrlf & "some new text"
end select
This works okay if there is no vbcrlf already in the text i am adding to.
If the text i am adding to has a vbcrlf at the end a blank line is added
before my new text.
How can i find if there is a vbcrlf and how to delete 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
|