Title-bar system menu toolbar hosting the close, minimize, maximize, and help buttons.
API unit family: TMSFNCRibbon
Inherits from: TTMSFNCRibbonDefaultToolBar
Syntax
TTMSFNCRibbonSystemMenu = class(TTMSFNCRibbonDefaultToolBar)
Properties
| Name |
Description |
| CloseButton |
The close (×) button in the system menu area. |
| HelpButton |
The help (?) button in the system menu area; nil when not created. |
| MaximizeButton |
The maximize/restore button in the system menu area; nil when not created. |
| MinimizeButton |
The minimize button in the system menu area; nil when not created. |
Methods
| Name |
Description |
| AddBitmapPicker |
Adds a bitmap picker control to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| AddColorPicker |
Adds a color picker control to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| AddFontNamePicker |
Adds a font-name picker control to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| AddFontSizePicker |
Adds a font-size picker control to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| AddItemPicker |
Adds an item picker control to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| AddSeparator |
Adds a separator element to this toolbar and returns it. (inherited from TTMSFNCRibbonDefaultToolBar) |
| GetOptionsMenuButtonControl |
Returns the drop-down button used to open the toolbar options menu. (inherited from TTMSFNCRibbonDefaultToolBar) |
| SetTheme |
Applies a built-in or custom theme to this toolbar and its buttons. (inherited from TTMSFNCRibbonDefaultToolBar) |
Events
| Name |
Description |
| OnAppliedTheme |
Fires after a theme is applied to this toolbar. (inherited from TTMSFNCRibbonDefaultToolBar) |
| OnBeforeApplyTheme |
Fires before a theme is applied to this toolbar, allowing the default theming to be suppressed. (inherited from TTMSFNCRibbonDefaultToolBar) |
| OnOptionsMenuMoreCommands |
Fires when the user clicks the "More Commands…" item in the toolbar options menu. (inherited from TTMSFNCRibbonDefaultToolBar) |
Used by