TTMSFNCToolBarPopup Class
Floating popup toolbar of buttons, positioned near a control or rectangle and shown on demand.
API unit family: TMSFNCToolBarPopup
Inherits from: TTMSFNCCustomToolBarPopup
Syntax
TTMSFNCToolBarPopup = class(TTMSFNCCustomToolBarPopup)
Remarks
Add entries to Buttons, set a placement (PlacementControl, PlacementRectangle, or Placement), handle OnButtonClick, and call Activate to show the popup.
Properties
| Name | Description |
|---|---|
| AutoAlign | When True, the toolbar automatically aligns and sizes its buttons; when False, their explicit positions and sizes are used. (inherited from TTMSFNCCustomToolBarPopup) |
| Buttons | Collection of buttons shown on the popup's toolbar. (inherited from TTMSFNCCustomToolBarPopup) |
| DragGrip | When True, a drag-grip handle is shown so the user can move the popup. (inherited from TTMSFNCCustomToolBarPopup) |
| ToolBar | Provides access to the underlying toolbar that renders the popup's buttons. (inherited from TTMSFNCCustomToolBarPopup) |
Methods
| Name | Description |
|---|---|
| Activate | Builds the toolbar from the current buttons and shows the popup at its configured placement. (inherited from TTMSFNCCustomToolBarPopup) |
| Activated | Returns whether the popup has been activated. (inherited from TTMSFNCCustomToolBarPopup) |
| Deactivate | Hides the popup. (inherited from TTMSFNCCustomToolBarPopup) |
| DropDownActive | Returns whether the popup is currently shown as an active drop-down. (inherited from TTMSFNCCustomToolBarPopup) |
Events
| Name | Description |
|---|---|
| OnActivate | Occurs after the popup is activated and shown. (inherited from TTMSFNCCustomToolBarPopup) |
| OnButtonClick | Occurs when a button on the popup is clicked. (inherited from TTMSFNCCustomToolBarPopup) |
| OnDeactivate | Occurs after the popup is deactivated and hidden. (inherited from TTMSFNCCustomToolBarPopup) |