Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maxscroll problem

Status
Not open for further replies.

Bignewbie

Programmer
Feb 22, 2001
351
PH
hi guys!


got this new problem. i have a dynamic, multi line textbox that shows the value of a string variable. i put a sort of a scrollbar beside so that the user can view each should the text require more space than my text box. I use
Code:
textbox.maxscroll
to determine the maximum number of lines in my textbox. however this always returns a value of "3" no matter how long the text is. am i missing something here?

I hope u fellows help me soon coz my boss want to see results asap. thanks

Godspeed,


biggi
 
Never really got into scrolling...

From the Help file:

In the Text Options panel, you can assign a variable to any text field set to Input Text or Dynamic Text. The text field acts like a window that displays the value of that variable.

Each variable associated with a text field has a scroll and a maxscroll property. You can use these properties to scroll text in a text field. The scroll property returns the number of the topmost visible line in a text field; you can set and retrieve it. The maxscroll property returns the topmost visible line in a text field when the bottom line of text is visible; you can read, but not set, this property.

;-)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top