TTMSFNCCustomRibbon Class
Base class for the TMS FNC Ribbon control; combines a title-bar toolbar area with a collapsible tab page control and full theming support.
API unit family: TMSFNCRibbon
Inherits from: TTMSFNCCustomControl
Implements: ITMSFNCBitmapContainer, ITMSFNCRibbonTheme
Syntax
TTMSFNCCustomRibbon = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer, ITMSFNCRibbonTheme)
Properties
| Name | Description |
|---|---|
| Caption | The HTML-capable caption label displayed in the title-bar area. |
| PageControl | The tab page control that hosts the ribbon pages and their toolbars. |
| QAT | The Quick Access Toolbar control hosted in the title-bar area. |
| SystemMenu | The system menu toolbar hosting close, minimize, maximize, and help buttons. |
| ToolBarWrapper | The container panel for the caption, icon, system menu, and Quick Access Toolbar in the title-bar area. |
Methods
| Name | Description |
|---|---|
| ApplyTheme | Applies the current Theme and CustomThemeColor to all ribbon child controls. |
| BeginUpdate | Suspends layout and painting updates until EndUpdate is called. |
| EndUpdate | Resumes layout and painting updates after a matching BeginUpdate call. |
| InitSample | Populates the ribbon with sample pages and toolbars for design-time preview. |
| Rebuild | Rebuilds the ribbon layout, recreating child controls and reapplying the current theme. |
| RebuildUsingName | Rebuilds the ribbon layout, using the specified component name as the anchor for locating child controls. |
| SetTheme | Applies a built-in or custom theme to the ribbon and all child controls. |