PDA

Click to See Complete Forum and Search --> : scrollbar trouble


footballpitch
Jan 31st, 2001, 10:43 PM
With the forms 2.0 scrollbar, has anyone noticed that if scrbar.LargeChange is set to a larger value than scrbar.Max, the thumb dissappears? Is this a bug, and if so does anyone know a fix or workaround?

Thanks,


fpitch

DugzDMan
Feb 6th, 2001, 03:53 PM
I am still very new at this, but why would you want to set the LargeChange to greater than the Max?

Feb 6th, 2001, 04:12 PM
The reason why this happens is that the thumb adjusts to fit the scrollbar, and when you set the LargeChange to a value higher than the maximum, it will grow larger than the actual scrollbar, thus it seems to have (but not really have) disappeared.

footballpitch
Feb 7th, 2001, 01:50 PM
I was under the impression that the size of the thumb as a proportion of the space should be

scrbar.largechange / (scrbar.largechange + scrbar.max)

or approximately that anyway (that would make sense with how it looks in explorer) in which case I should be able to set largechange to a value greater than scrbar.max to indicate that I am viewing more of my window than there is offscreen. This works fine with the Forms 1 scrollbar. Why not Forms 2?

fp