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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vscroll bar max property

Status
Not open for further replies.

Neenas19

Technical User
Apr 10, 2002
22
US
Hello,
I have a very long form that I would like them to be able to scroll through. I have the scroll bar working however, it stops once it has reached its MAX property. I have attempted to change the MAX property both in the properties box and by declaring the MAX property upon load. Neither has worked. Any ideas?

Thanks for any help!
N
 

move the controls via a multiplier of the value

text1.top = text1.top - (vs.value * multiplier)'multiplier=10

Good Luck

 
Thanks for the quick reply. But this just makes me hit the maximum even quicker. Any other tips?
 

The max should not be hit quicker, it should take 10 times longer to hit the max. Check your formula again.

Good Luck

 
Thanks for the tip, but how fast or slowly I scroll through is not the problem.

The problem is that my MAX value automatically sets back to zero when asked to be set over 32750. My current frame that I need to scroll through is 49500. Therefore the vscroll is not allowing me to scroll through the entire length of the form. This is where lies the problem. Any other ideas?
n
 
Check VBHelp - it tells you that the largest value is 32767
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
just set

vscroll1.max=frame.height/2 If somethings hard to do, its not worth doing - Homer Simpson
 
Thanks all for the help. Yes the max is 32697, but with a little manuvering with the scale height/height and .max property I was able to get it to work. Thanks.
Nina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top