Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRibbonForm.GetCaptionHeightDelta(Boolean) Method

Returns the height adjustment of form’s title bar.

#Declaration

Delphi
function GetCaptionHeightDelta(AHasQuickAccessToolbar: Boolean): Integer; virtual;

#Parameters

Name Type Description
AHasQuickAccessToolbar Boolean

Pass True if the Ribbon Quick Access Toolbar is above the Ribbon control; otherwise, pass False.

#Returns

Type Description
Integer

The title bar’s height adjustment, in pixels.

#Remarks

Override this function in a TdxCustomRibbonForm class descendant and return a positive or negative value to increase or decrease the title bar’s height, respectively.

Refer to the following topic for an example: How to Change the Height of the Ribbon Form’s Title in Code.

See Also