|
-
Nov 25th, 1999, 07:29 AM
#1
Thread Starter
Junior Member
I would like to know how to perform a backspace in my program using visual basic 6. For example, if the user keyed in a "~", I would perform a backspace to remove this particular character.
Please note that I had try to use LEFT, MID and some other function that can achieve this taskl, but however, previous characters will all change to only one colour.
Sincerely asking for help
Thank you.
-
Nov 25th, 1999, 12:32 PM
#2
When using a RichTextBox there are 2 copies of the Text, there is a straight Text Version and a Formated RTF copy, when performing operations on Characters within the Text, make sure you're using the .Text Property, otherwise it'll use the RichText Formatted Copy by Default and You'll be manipulating the Formatting characters along with the Text giving the Unexpected results you are experiencing.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
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
|