hScrollBar1.Minimum = 0,In this scenario, the user cannot get the value of hScrollBar1.Value is greater than 91, although a maximum of 100.
hScrollBar1.Maximum = 100.
The highest value can only be set programmatically. This largest value for the scroll bar cannot be set by the user at run time. The highest value that a user can specify is determined by the formula: 1 plus the value of the Maximum property minus the value of the LargeChange property. If necessary, you can set the Maximum property to the size of the object -1, so that the value of this expression is 1.Checked, really, with hScrollBar1.LargeChange = 1, the maximum is reached, but the page scrolling is not different from the usual (± 1 per action).
Kagbe size of the slider corresponds to the size of the display area (page), the length of the scroll bar - the size of the entire area available for viewing. If the slider is in the leftmost part of the bar, its position is 0, and in the display area it is from 0 to {page size}. Accordingly, the extreme right area from {full length - page size} to {full length} corresponds to the position of the slider {maximum value - size of the slider}. The slider position {maximum value} would correspond to a (non-existent) region from {full length} to {full length + page size}.
Source: https://habr.com/ru/post/60336/
All Articles