TTMSFNCRibbon Class
TMS FNC Ribbon control: a multi-framework ribbon bar with a title-bar toolbar area, collapsible tab page control, Quick Access Toolbar, tab groups, and full theme support.
API unit family: TMSFNCRibbon
Inherits from: TTMSFNCCustomRibbon
Syntax
TTMSFNCRibbon = class(TTMSFNCCustomRibbon)
Properties
Name
Description
BitmapContainer
Bitmap container used to resolve named bitmaps for buttons throughout the ribbon. (inherited from TTMSFNCCustomRibbon)
Caption
The HTML-capable caption label displayed in the title-bar area. (inherited from TTMSFNCCustomRibbon)
CustomThemeColor
Custom accent color applied when Theme is set to rbtCustom. (inherited from TTMSFNCCustomRibbon)
GroupAppearance
Default appearance settings applied to all ribbon groups whose UseDefaultAppearance is True. (inherited from TTMSFNCCustomRibbon)
Groups
Collection of page-spanning groups drawn as labeled background regions behind the ribbon tab strip. (inherited from TTMSFNCCustomRibbon)
Mode
Controls which sections of the ribbon are displayed. (inherited from TTMSFNCCustomRibbon)
PageControl
The tab page control that hosts the ribbon pages and their toolbars. (inherited from TTMSFNCCustomRibbon)
QAT
The Quick Access Toolbar control hosted in the title-bar area. (inherited from TTMSFNCCustomRibbon)
QATMode
Controls where the Quick Access Toolbar is displayed — inline in the title bar or below the ribbon. (inherited from TTMSFNCCustomRibbon)
SystemMenu
The system menu toolbar hosting close, minimize, maximize, and help buttons. (inherited from TTMSFNCCustomRibbon)
Theme
Built-in color theme applied to the ribbon and all child controls. (inherited from TTMSFNCCustomRibbon)
ToolBarWrapper
The container panel for the caption, icon, system menu, and Quick Access Toolbar in the title-bar area. (inherited from TTMSFNCCustomRibbon)
Version
Version number of the ribbon control. (inherited from TTMSFNCCustomRibbon)
Methods
Name
Description
ApplyTheme
Applies the current Theme and CustomThemeColor to all ribbon child controls. (inherited from TTMSFNCCustomRibbon)
BeginUpdate
Suspends layout and painting updates until EndUpdate is called. (inherited from TTMSFNCCustomRibbon)
EndUpdate
Resumes layout and painting updates after a matching BeginUpdate call. (inherited from TTMSFNCCustomRibbon)
InitSample
Populates the ribbon with sample pages and toolbars for design-time preview. (inherited from TTMSFNCCustomRibbon)
Rebuild
Rebuilds the ribbon layout, recreating child controls and reapplying the current theme. (inherited from TTMSFNCCustomRibbon)
RebuildUsingName
Rebuilds the ribbon layout, using the specified component name as the anchor for locating child controls. (inherited from TTMSFNCCustomRibbon)
SetTheme
Applies a built-in or custom theme to the ribbon and all child controls. (inherited from TTMSFNCCustomRibbon)
Events
Name
Description
OnAfterDrawGroupBackground
Fires after the background of a tab group has been painted. (inherited from TTMSFNCCustomRibbon)
OnAfterDrawGroupText
Fires after the label text of a tab group has been painted. (inherited from TTMSFNCCustomRibbon)
OnAppliedTheme
Fires after a theme is applied to the ribbon and its child controls. (inherited from TTMSFNCCustomRibbon)
OnBeforeApplyTheme
Fires before a theme is applied to each ribbon child control, allowing selective suppression of theming. (inherited from TTMSFNCCustomRibbon)
OnBeforeDrawGroupBackground
Fires before the background of a tab group is painted; set ADefaultDraw to False to perform custom painting. (inherited from TTMSFNCCustomRibbon)
OnBeforeDrawGroupText
Fires before the label text of a tab group is painted; set ADefaultDraw to False to perform custom text rendering. (inherited from TTMSFNCCustomRibbon)
Used by