TTMSFNCWXPDFToolbarItem Class
Represents a single button in the toolbar. Each item is bound to a role that determines the action triggered when the button is clicked, and can display a custom bitmap and caption.
API unit family: TMSFNCWXPDFToolbar
Inherits from: TTMSFNCCustomListItem
Syntax
TTMSFNCWXPDFToolbarItem = class(TTMSFNCCustomListItem)
Properties
| Name | Description |
|---|---|
| Bitmap | Custom image shown on the button. When empty, a built-in icon matching the item role is drawn instead. |
| PDFRole | Action the button performs when clicked. |
Events
| Name | Description |
|---|---|
| OnCustomEvent | Occurs when a button whose role is trCustom is clicked. |