Re: transfer text from label to textbox preserving linebreaks
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxx>
- Date: Sat, 3 Jan 2009 07:47:59 -0500
See whether using vbCrLf instead of vbNewLine helps.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Wal" <no_reply@xxxxxxxxxxx> wrote in message
news:jAF7l.7094$cu.0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(vb6) I want to write the text which appears in a label to a textbox while
keeping linebreaks.
The label caption is written using -
[text] & vbnewline & [text] & vbnewline & [text]
but
textbox1 = label1
gives me the text seperated by "|" all on one line
(even though the textbox is set multiline at design time).
Interestingly
msgbox label1
displays the text with linebreaks correctly.
Any ideas. Something so simple is baffling me!!
.
- Follow-Ups:
- References:
- Prev by Date: Re: Screen vs Printer Fonts
- Next by Date: Re: transfer text from label to textbox preserving linebreaks
- Previous by thread: transfer text from label to textbox preserving linebreaks
- Next by thread: Re: transfer text from label to textbox preserving linebreaks
- Index(es):
Relevant Pages
|