Thanks to Ray White.
This program sets the scroll bar's LargeChange property like this:
LargeChange = (Max - Min + 1) * num_visible / num_hidden
Here num_visble is the number of visible items and num_hidden is the number of hidden items.
See the code for additional details.
|