|
-
February 2nd, 2000, 02:32 AM
#1
How can textbox handles html file new line character?
I have try to place the html source in the textbox but the control cannot recongize the new line character. How can I handle?
-
February 2nd, 2000, 04:01 AM
#2
Re: How can textbox handles html file new line character?
Have you set the textbox '.multiline' property to True ?
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
February 2nd, 2000, 10:02 AM
#3
Re: How can textbox handles html file new line character?
If you are talking about getting the textbox to recognize <BR> as an end of line - parce the string before placing it into the textbox by using the following code:
txtString = Replace(txtString, "<BR>", "<BR>" & Chr$(13))
(You may also want to repeat this line using lowercase br - just in case)
Also, like the previous guy said - make sure that you have the textbox set to multiline.
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
|