|
-
May 22nd, 2007, 01:56 PM
#5
Thread Starter
PowerPoster
Re: blank line at end in richtextbox
 Originally Posted by smUX
using strrev(.text,vbCrLf) will give you the point at which the list vbCrLf is, but you'd then have to do other stuff to check and see if the last line is empty or not...the suggestion I gave might be the best option...that or...
vb Code:
if right(.text,2)=vbCrLf then .text=left(.text,len(.text)-2)
seems vb does not even see the vbcrlf i can see the 2 little squares in bread but
vb does not. I might have code against the rtf code directly.
Thought this was going to be easy
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
|