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

TcxCustomGroupBox.OnMeasureCaptionHeight Event

In This Article

Allows you to customize the group box header’s size.

#Declaration

Delphi
property OnMeasureCaptionHeight: TcxGroupBoxMeasureCaptionHeightEvent read; write;

#Remarks

The OnMeasureCaptionHeight event fires when the display information on the group box’s header is being calculated.

Sender specifies the group box whose header is to be drawn.

APainter specifies the painter that draws the group box.

ACaptionHeight specifies the group box caption’s size.

Important

the OnCustomDrawCaption, OnCustomDrawContentBackground and OnMeasureCaptionHeight events were designed to be used with the skins. Since skinning was developed for platforms starting from Delphi 7 and Developer Studio 2006, these events can only be used in these environments.

See Also