|
-
Jun 15th, 2002, 04:33 AM
#1
Thread Starter
Addicted Member
RichTextBox Length is weird
I am using a rich text box and then loading a text file and counting the number of charcters. I get numbers that aren't right, even when i only have 1 letter it says 101 as the length
anyone know how to get the length of all the text from a richtextbox?
i used len(richtextbox1) but they failed
thanks in advance
-
Jun 15th, 2002, 06:21 AM
#2
Frenzied Member
I think this should work:
-
Jun 15th, 2002, 07:35 AM
#3
len(richtextbox1) won't work the way you expected it to because the Text property is not the default property of the richtextbox as it is for a textbox. If you want to see why you got that "strange" result, do MsgBox richtextbox1.
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
|