Problem with Multi-Line Textbox 
Author Message
 Problem with Multi-Line Textbox

Ok, here's the deal.  I've got a application that receives some data
from the internet and then I put it in a multi-line text box.  The
problem is for some reason the carriage returns and line feeds show up
in the text box as bars instead of actual returns.  Does anyone know how
to fix this?

Thanks in advance.



Sun, 18 Nov 2001 03:00:00 GMT  
 Problem with Multi-Line Textbox
For the carrage return you must use the VB constant vbCrLf


Quote:
>Ok, here's the deal.  I've got a application that receives some data
>from the internet and then I put it in a multi-line text box.  The
>problem is for some reason the carriage returns and line feeds show up
>in the text box as bars instead of actual returns.  Does anyone know how
>to fix this?

>Thanks in advance.



Sun, 18 Nov 2001 03:00:00 GMT  
 Problem with Multi-Line Textbox
Hello,
    You need to parse the data as it comes in and replace the bar with a
vbCrLf. Then let it pass to the multi-line textbox. A simple search and
replace should do the trick for you.

Good Luck



Quote:
> Ok, here's the deal.  I've got a application that receives some data
> from the internet and then I put it in a multi-line text box.  The
> problem is for some reason the carriage returns and line feeds show up
> in the text box as bars instead of actual returns.  Does anyone know how
> to fix this?

> Thanks in advance.



Sun, 18 Nov 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Scroll bar problem on Multiline Textbox

2. Default button causing problem for multi-line textbox

3. TextBox -- Multi-Line & Problem with Back Color

4. Read a MultiLine textbox line by line?

5. Limit a multi-line textbox to 10 lines ?

6. Limitting line length of each line within multiline textbox

7. No of lines in a multi line TextBox ?

8. Multiline Textbox Cause Page Overflows when Printing or doesn't print all lines

9. Multi-line textbox

10. Positon of cursor in multi-line textbox

11. Multi-Line Textbox limits

12. finding line number cursor is in multiline textbox

 

 
Powered by phpBB® Forum Software