Insert large text into a textbox

H

Hai Nguyen

I have a large amount of text want to insert into a textbox.

I would like to know how I can do that? Thanks

Both by design time and running time
 
K

Kevin Spencer

Whether you do it at design time or at run-time, you do it the same way. You
set the "Text" property.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
R

REB

mytextbox.text = "very long text..................";

If you want the text to be visible to the user you can change the TextMode
property of the textbox to multiple lines so more than just one line can be
seen at once.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top