|
-
May 30th, 2000, 06:07 PM
#1
Thread Starter
Member
i cannot get a enter/nextline to go into a textbox during runtime.
multiline property is on and in design mode i can put enters but i cant in runtime.
these are the things that i've tried:
text1.text = "line1" + chr(13) + "line2"
text1.text = "line1" + chr(10) + "line2"
text1.text = "line1" + chr(0) + "line2"
text1.text = "line1" & chr(13) & "line2"
text1.text = "line1" & chr(10) & "line2"
text1.text = "line1" & chr(0) & "line2"
text1.text = "line1"
text1.text = text1.text + "line2"
text1.text = "line1"
text1.text = text1.text & "line2"
it always comes out like this (in the textbox)
line1line2
no matter what i try i cant get it to work
remember multiline is on.
help me please!!!!!!!!!
-
May 30th, 2000, 06:11 PM
#2
transcendental analytic
You must have got this wrong somewhere, chr(13) & chr(10) is carriage return, the vbcrlf constant you need to use.
Code:
text1.text= "line1" & vbcrlf & "line2"
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 30th, 2000, 06:19 PM
#3
Thread Starter
Member
thank you very much, kedaman!
this has been bugging me for a long time!
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
|