TTMSFNCToolBarPopupButton Class
Represents a single button in a TTMSFNCToolBarPopup, carrying its caption, size, position, bitmap, and optional application data.
API unit family: TMSFNCToolBarPopup
Inherits from: TCollectionItem
Syntax
TTMSFNCToolBarPopupButton = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Bitmap | Bitmap drawn on the button. |
| Button | Provides access to the toolbar button control that represents this item in the popup. |
| DataBoolean | Stores an arbitrary Boolean value together with the item for application use. |
| DataInteger | Stores an arbitrary integer value together with the item for application use. |
| DataObject | Stores an arbitrary object reference together with the item for application use. |
| DataPointer | Stores an arbitrary pointer value together with the item for application use. |
| DataString | Stores an arbitrary string value together with the item for application use. |
| Enabled | When True, the button is enabled and responds to clicks; when False, it is shown disabled. |
| Height | Height of the button in pixels. |
| LastElement | When True, marks the button as the last element on its row, affecting layout and alignment. |
| Left | Horizontal position of the button within the popup toolbar, in pixels. |
| Tag | Arbitrary integer tag associated with the item for application use. |
| Text | Caption shown on the button for this item. |
| Top | Vertical position of the button within the popup toolbar, in pixels. |
| Visible | When True, the button is visible in the popup; when False, it is hidden. |
| Width | Width of the button in pixels. |