By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,835 Members | 986 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,835 IT Pros & Developers. It's quick & easy.

How to create multi line string?

P: n/a
I need to assign a multiline string to a textbox in design time,
my problem is that strings cannot be on more than one line
in the editor, even the _ at the end of a line doesn't work
with string, so how can I do this?
(I need it to store some readme instructions in my program,
but I want them to be part of the exe and not in another
txt file.

tia.
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
<Lucio H> schrieb:
I need to assign a multiline string to a textbox in design time,
my problem is that strings cannot be on more than one line
in the editor, even the _ at the end of a line doesn't work
with string, so how can I do this?


Edit the control's 'Lines' property.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2

P: n/a
thank you, this is wonderful.
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.