Vcl.Ribbon.TRibbonMetric

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TRibbonMetric = (rmCaption, rmHeight, rmFullHeight, rmMinHeight, rmTabTop,
rmPageHeight, rmGroupHeight, rmGroupCaptionHeight, rmQATWidth, rmSystemButtonHeight,
rmSystemButtonWidth, rmTabHeight, rmFontSize, rmFormBorder);

C++

enum DECLSPEC_DENUM TRibbonMetric : unsigned char { rmCaption, rmHeight, rmFullHeight, rmMinHeight, rmTabTop, rmPageHeight, rmGroupHeight, rmGroupCaptionHeight, rmQATWidth, rmSystemButtonHeight, rmSystemButtonWidth, rmTabHeight, rmFontSize, rmFormBorder };

Properties

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

Description

Metric enumeration for ribbon controls.

Depending on the value used, a corresponding metric is returned by GetRibbonMetric. Each value represents a metric:

Value Meaning

rmCaption

The caption's height

rmHeight

The control's height

rmFullHeight

The height of the ribbon plus the height of the caption

rmMinHeight

The height of the minimized ribbon plus the height of the caption

rmTabTop

The height of the top of a tab

rmPageHeight

The height of a page

rmGroupHeight

The height of a group

rmGroupCaptionHeight

The caption height of a group

rmQATWidth

The Width of the Quick Action Toolbar

rmSystemButtonHeight

The height of the System Button

rmTabHeight

The height of a tab

rmFontSize

The size of the caption font

rmFormBorder

The border of the form

See Also