TTMSFNCCustomToolBarElement Class
Base class for all toolbar controls (buttons, separators, pickers); manages the element state, copy-to-compact flag, and control index within the toolbar layout.
API unit family: TMSFNCToolBar
Inherits from: TTMSFNCCustomControl
Syntax
TTMSFNCCustomToolBarElement = class(TTMSFNCCustomControl)
Properties
| Name | Description |
|---|---|
| CanCopy | When True, this element can be copied to the compact popup toolbar. Set to False to exclude it from the compact view. |
| ControlIndex | Zero-based index of this control within the toolbar's control list. Set internally during layout; do not change at runtime. |