Skip to main content

TdxCustomNavBar.OnCalcGroupHintRect Event

Enables you to assign custom sizes for hints displayed for NavBar groups.

Declaration

property OnCalcGroupHintRect: TdxNavBarCalcGroupHintRectEvent read; write;

Remarks

Write the OnCalcGroupHintRect event handler to define NavBar group hint dimensions.

The Sender parameter specifies the sender of the event. The sender of the event is the NavBar control.

The AGroup parameter specifies the group whose hint dimensions are to be calculated.

The AViewInfo parameter specifies an object of the TdxNavBarViewInfo type that stores ViewInfo information of the NavBar control.

The R parameter specifies an object of the TRect type which represents rectangular dimensions of the NavBar group hint. The parameter’s initial values are calculated by the control itself, but you can change them.

See Also