C
Computer Guru
I have a form I'm using as a dialog box.
It has default text that is two paragraphs.
It has a function setText(byval text as string)
that specifies the text in the read-only textbox that's on it.
For some odd reason,
dialog1.setText("Line 1" & chr(13) & chr(13) & "Line 2") shows up as
"Line 1Line 2" on Vista, and as "Line 1[]Line2" on 2k3, where [] is an
unprintable character.
The original text (default) shows up just fine.
using chrw() instead of chr() or 10 instead of 13 makes no difference.
Using + instead of & doesn't make a difference either.
Do you have any idea what is causing the enter characters to not show?
multiline is set to true.
chr(9) for tab works just fine, as do other characters.
Anyone see this before?
It has default text that is two paragraphs.
It has a function setText(byval text as string)
that specifies the text in the read-only textbox that's on it.
For some odd reason,
dialog1.setText("Line 1" & chr(13) & chr(13) & "Line 2") shows up as
"Line 1Line 2" on Vista, and as "Line 1[]Line2" on 2k3, where [] is an
unprintable character.
The original text (default) shows up just fine.
using chrw() instead of chr() or 10 instead of 13 makes no difference.
Using + instead of & doesn't make a difference either.
Do you have any idea what is causing the enter characters to not show?
multiline is set to true.
chr(9) for tab works just fine, as do other characters.
Anyone see this before?