Word wrapping?

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2004
Posts: 46
Reputation: tom_h_500 is an unknown quantity at this point 
Solved Threads: 0
tom_h_500's Avatar
tom_h_500 tom_h_500 is offline Offline
Light Poster

Word wrapping?

 
0
  #1
Oct 12th, 2005
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 464
Reputation: invisal is a jewel in the rough invisal is a jewel in the rough invisal is a jewel in the rough 
Solved Threads: 49
invisal's Avatar
invisal invisal is offline Offline
Posting Pro in Training

Re: Word wrapping?

 
0
  #2
Oct 12th, 2005
This is what you mean ?

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Private Sub Form_Load()
  2. Text1.MultiLine = True
  3. Text1.ScrollBars = 2
  4. End Sub
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 46
Reputation: tom_h_500 is an unknown quantity at this point 
Solved Threads: 0
tom_h_500's Avatar
tom_h_500 tom_h_500 is offline Offline
Light Poster

Re: Word wrapping?

 
0
  #3
Oct 13th, 2005
That doesn't work I get an error message when I try to preview something about read only?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Word wrapping?

 
0
  #4
Oct 13th, 2005
I think the multiline property can only be set during the design, and not at run time.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 239
Reputation: extofer is an unknown quantity at this point 
Solved Threads: 5
extofer's Avatar
extofer extofer is offline Offline
Posting Whiz in Training

Re: Word wrapping?

 
0
  #5
Oct 14th, 2005
You might also want to try Rich Text Boxes instead
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC