Visible lines in a TextBox

  • Thread starter Thread starter Tom McLaughlin
  • Start date Start date
T

Tom McLaughlin

How can I determine the number of lines that are visible within a Textbox
control especially
if text has more than one style of font and varying sizes?

Thanks

Tom
 
Me.txtTextbox.VisibleLines = X

This will allow you to set the number of visible lines in
your textbox.












Sometimes
 
* "Sonic The Hedgehog said:
Me.txtTextbox.VisibleLines = X

This will allow you to set the number of visible lines in
your textbox.

Did you test that?!
 
When I try to use Me.txtTextbox.VisibleLines = X I receive the
following:
VisibleLines is not a member of "System.Windows>forms.Textbox"

What am I missing?

Tom
 
* "Tom McLaughlin said:
When I try to use Me.txtTextbox.VisibleLines = X I receive the
following:
VisibleLines is not a member of "System.Windows>forms.Textbox"

What am I missing?

This property doesn't exist.
 
Back
Top