TTMSFNCCustomPanel Class
Base class for the TMS FNC Panel control; provides a bordered container with a configurable header, footer, action buttons, section list, expand/collapse, compact, and drop-down popup support.
API unit family: TMSFNCPanel
Inherits from: TTMSFNCCustomControl
Implements: ITMSFNCBitmapContainer, ITMSFNCAppearanceGlobalFont
Syntax
TTMSFNCCustomPanel = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer, ITMSFNCAppearanceGlobalFont)
Properties
| Name | Description |
|---|---|
| CompactState | Current horizontal compact/normal state of the panel. |
| ExpandState | Current vertical expand/collapse state of the panel. |
Methods
| Name | Description |
|---|---|
| Collapse | Collapses the panel to show only the header and/or footer. |
| Compact | Switches the panel to compact mode, reducing its width. |
| CompactAndCollapse | Collapses the panel vertically and switches it to compact width simultaneously. |
| Expand | Expands the panel to show its full content area. |
| InitSample | Populates the panel with sample header text and a section for design-time preview. |
| Restore | Restores the panel to its normal (non-compact, expanded) state. |