TTMSFNCScrollBar Class
Drop-on-form scroll bar component with configurable range, step, orientation, and visual appearance.
API unit family: TMSFNCScrollBar
Inherits from: TTMSFNCCustomScrollBar
Syntax
TTMSFNCScrollBar = class(TTMSFNCCustomScrollBar)
Properties
| Name | Description |
|---|---|
| Appearance | Visual appearance settings for the scroll bar track, thumb, and arrow buttons. (inherited from TTMSFNCCustomScrollBar) |
| Kind | Orientation of the scroll bar. Default is sbkVertical. (inherited from TTMSFNCCustomScrollBar) |
| LargeChange | Amount added to or subtracted from Value when the user clicks the track area for a large step. (inherited from TTMSFNCCustomScrollBar) |
| Max | Maximum allowed value of the scroll bar. Default is 100. (inherited from TTMSFNCCustomScrollBar) |
| Min | Minimum allowed value of the scroll bar. Default is 0. (inherited from TTMSFNCCustomScrollBar) |
| PageSize | Size of the visible page relative to the total range; determines the proportional thumb size. Default is 10. (inherited from TTMSFNCCustomScrollBar) |
| SmallChange | Amount added to or subtracted from Value when the user clicks an arrow button. Default is 1. (inherited from TTMSFNCCustomScrollBar) |
| Tracking | When True, OnValueChanged fires continuously while the user drags the thumb. Default is True. (inherited from TTMSFNCCustomScrollBar) |
| Value | Current scroll position within the range [Min, Max]. Default is 0. (inherited from TTMSFNCCustomScrollBar) |
Events
| Name | Description |
|---|---|
| OnPageSizeChanged | Fires when PageSize changes. (inherited from TTMSFNCCustomScrollBar) |
| OnValueChanged | Fires when Value changes, either by user interaction or programmatic assignment. (inherited from TTMSFNCCustomScrollBar) |