PDA

Click to See Complete Forum and Search --> : chr(13) in a textbox


dvadas
Nov 16th, 1999, 10:34 AM
how can you put a carraige return - chr(13)- in a textbox? i only get a black box representation. I dont want to put a tonne of spaces in but need to go onto the next line, help please!

minnal
Nov 16th, 1999, 12:37 PM
As far as i understood ur question the answer is very simple . Make the multiline property of the textbox True.

I think ur problem will be solved by this.

venkatraman_r
Nov 16th, 1999, 12:42 PM
Hi,

Try by setting the multiline property of the textbox to true and pressing the enter key. It works fine.

Bye,

Venkat :)

c@lle
Nov 16th, 1999, 02:23 PM
he, you can use 'vbCr' or 'vbCrLf' (a VB constant) instead of 'chr(13)'. That makes it easier to remember, isn't it!?