|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Add Linefeed Character to a textbox
Hi there.
How do you add a linefeed character to a textbox (in VB6). I have multiplelines set to true, and can add them myself, but when I do it with code, e.g. Code:
Text1.Text = Text1.Text & chr(10) & "testing" I get a funny character instead of a linefeed. Thanks |
|
#2
|
|||
|
|||
|
in windows you need a carriage return (Cr) and a line feed (Lf)
Code:
Text1.Text = Text1.Text & vbCrLf & "testing"
__________________
Programmer's Corner |
|
#3
|
||||
|
||||
|
Thanks a Mil! It worked
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Add Linefeed Character to a textbox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|