TTMSFNCScrollBarAppearance Class
Defines the visual appearance of a scroll bar control, including fills and strokes for the thumb, scroll buttons, and their hover and pressed states.
API unit family: TMSFNCScrollBar
Inherits from: TPersistent
Syntax
TTMSFNCScrollBarAppearance = class(TPersistent)
Properties
| Name | Description |
|---|---|
| ArrowColor | Color of the navigation arrows drawn inside the scroll-arrow buttons. Default is black. |
| FixedThumb | When True, the thumb has a fixed pixel size instead of a proportional size. Default is False. |
| ScrollButtonLeftDownFill | Fill for the left scroll-arrow button while it is pressed. |
| ScrollButtonLeftDownStroke | Stroke for the left scroll-arrow button when pressed. |
| ScrollButtonLeftFill | Fill for the left (or top) scroll-arrow button in the normal state. |
| ScrollButtonLeftHoverFill | Fill for the left scroll-arrow button when the pointer hovers over it. |
| ScrollButtonLeftHoverStroke | Stroke for the left scroll-arrow button when hovered. |
| ScrollButtonLeftStroke | Stroke for the left scroll-arrow button in the normal state. |
| ScrollButtonRightDownFill | Fill for the right scroll-arrow button while it is pressed. |
| ScrollButtonRightDownStroke | Stroke for the right scroll-arrow button when pressed. |
| ScrollButtonRightFill | Fill for the right (or bottom) scroll-arrow button in the normal state. |
| ScrollButtonRightHoverFill | Fill for the right scroll-arrow button when the pointer hovers over it. |
| ScrollButtonRightHoverStroke | Stroke for the right scroll-arrow button when hovered. |
| ScrollButtonRightStroke | Stroke for the right scroll-arrow button in the normal state. |
| ScrollButtonSize | Pixel size of the scroll-arrow buttons shown at each end of the scroll bar. |
| ThumbButtonLeftDownFill | Fill for the left thumb resize button while it is pressed. |
| ThumbButtonLeftDownStroke | Stroke for the left thumb resize button when pressed. |
| ThumbButtonLeftFill | Fill for the left (or top) thumb resize button in the normal state. |
| ThumbButtonLeftHoverFill | Fill for the left thumb resize button when the pointer hovers over it. |
| ThumbButtonLeftHoverStroke | Stroke for the left thumb resize button when hovered. |
| ThumbButtonLeftStroke | Stroke for the left thumb resize button in the normal state. |
| ThumbButtonRightDownFill | Fill for the right thumb resize button while it is pressed. |
| ThumbButtonRightDownStroke | Stroke for the right thumb resize button when pressed. |
| ThumbButtonRightFill | Fill for the right (or bottom) thumb resize button in the normal state. |
| ThumbButtonRightHoverFill | Fill for the right thumb resize button when the pointer hovers over it. |
| ThumbButtonRightHoverStroke | Stroke for the right thumb resize button when hovered. |
| ThumbButtonRightStroke | Stroke for the right thumb resize button in the normal state. |
| ThumbButtonSize | Pixel size of the thumb resize buttons shown at each end of the thumb. |
| ThumbFill | Fill for the draggable thumb. |
| ThumbStroke | Stroke (border) drawn around the draggable thumb. |
Events
| Name | Description |
|---|---|
| OnChange | Fires when any scroll bar appearance property changes so the owner scroll bar control can repaint. |