TTMSFNCToolBarButtonAppearance Class
Full button appearance including transparency, inner stroke, rounding, corners, and state-specific fill/stroke settings.
API unit family: TMSFNCToolBar
Inherits from: TTMSFNCToolBarCustomButtonAppearance
Syntax
TTMSFNCToolBarButtonAppearance = class(TTMSFNCToolBarCustomButtonAppearance)
Properties
| Name | Description |
|---|---|
| Corners | Which corners of the button are rounded. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| DisabledFill | Background fill when disabled. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| DisabledStroke | Border stroke when disabled. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| DownFill | Background fill when pressed. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| DownStroke | Border stroke when pressed. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| FlatStyle | When True, uses a flat style — borders only appear on interaction. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| HoverFill | Background fill when hovered. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| HoverStroke | Border stroke when hovered. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| InnerStroke | Stroke drawn as an inner border inside the button's outer border. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| NormalFill | Background fill in the normal state. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| NormalStroke | Border stroke in the normal state. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| Rounding | Corner radius of the button in pixels. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| ShowInnerStroke | When True, an inner border stroke is drawn inside the outer border. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
| Transparent | When True, the button background is transparent. (inherited from TTMSFNCToolBarCustomButtonAppearance) |
Events
| Name | Description |
|---|---|
| OnChange | Fires when any appearance property changes. (inherited from TTMSFNCToolBarCustomButtonAppearance) |