TdxCustomRibbonForm.GetCaptionHeightDelta(Boolean) Method
In This Article
Returns the height adjustment of form’s title bar.
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
AHas |
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