Hiya I keep having this probelm with my script

Basically I want it so when you click a command button some text shows up in my text box now I know how to do this but it does not seem to word wrap if I have a lot of text I have to drag my cursor along and I want to have a lot of text want can I do?

Recommended Answers

All 4 Replies

This is what you mean ?

Private Sub Form_Load()
    Text1.MultiLine = True
    Text1.ScrollBars = 2
End Sub

That doesn't work I get an error message when I try to preview something about read only?

I think the multiline property can only be set during the design, and not at run time.

You might also want to try Rich Text Boxes instead

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.