TTMSFNCPanelElement Class
Base class for the panel header and footer; provides text, fill, stroke, font, button configuration, size, visibility, and drop-down control settings.
API unit family: TMSFNCPanel
Inherits from: TPersistent
Syntax
TTMSFNCPanelElement = class(TPersistent)
Properties
| Name | Description |
|---|---|
| ButtonSize | Pixel size of each action button. |
| ButtonSpacing | Pixel gap between consecutive action buttons. |
| Buttons | Set of action buttons displayed in the header or footer. |
| DropDownControl | Control shown in the drop-down popup when the drop-down button is clicked. |
| DropDownHeight | Height of the drop-down popup in pixels. |
| DropDownWidth | Width of the drop-down popup in pixels. |
| Fill | Background fill of the header or footer bar. |
| Font | Font used to render the text label. |
| HorizontalTextAlign | Horizontal alignment of the text label. |
| ShowButtons | When True, the action button area is visible in the header or footer. |
| Size | Height of the header or footer bar in pixels. |
| StretchText | When True, the text label stretches to fill the available width. |
| Stroke | Border stroke of the header or footer bar. |
| Text | Text displayed in the header or footer bar; supports HTML formatting. |
| Trimming | Controls how overlong text is trimmed when word-wrapping is off. |
| VerticalTextAlign | Vertical alignment of the text label. |
| Visible | When False, the header or footer bar is hidden. |
| WordWrapping | When True, the text label wraps across multiple lines. |
Events
| Name | Description |
|---|---|
| OnChanged | Fires when any header/footer setting changes. |