Vcl.Ribbon.TCustomRibbon

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomRibbon

Delphi

TCustomRibbon = class(TCustomControl)

C++

class PASCALIMPLEMENTATION TCustomRibbon : public Vcl::Controls::TCustomControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.Ribbon.pas
Vcl.Ribbon.hpp
Vcl.Ribbon Vcl.Ribbon

Description

Base class for all ribbon controls.

TCustomRibbon is the base class for all ribbon controls. A ribbon can hold controls, such as application menus, Quick Access Toolbars, and pages holding controls.

The following constants control ribbon appearance:



Value Meaning

cRibbonHideWidth

Parent width at which the Ribbon must automatically hide.

cRibbonHideHeight

Parent height at which the Ribbon must automatically hide.

cRibbonQuickAccessToolbarTop

Top position of the Quick Access Toolbar.

cRibbonQuickAccessToolbarLeft

Left position of the Quick Access Toolbar.

cRibbonHeight

Default height of the ribbon.

cRibbonQATHeight

Height of the bottom aligned Quick Access Toolbar.

cRibbonUnthemedCaptionHeight

Height of the caption section of the ribbon.

cRibbonFirstTabOffSet

Position of the first tab that is displayed.

cRibbonTabSpacing

Amount of spacing between tabs.

cRibbonTabHeight

Height of the tabs.

cRibbonMinimizedHeight

Minimized height of the ribbon.



The following messages are used:



Value Meaning

UM_DISPLAYKEYTIPS

Message sent to display the KeyTips.

UM_CHECKSIZE

Message sent after a WMWindowPosChanged message.



See Also