Skip to main content

TdxCustomNavBar.OnCalcLinkHintRect Event

Occurs when a particular NavBar link hint rectangular dimensions are recalculated.

Declaration

property OnCalcLinkHintRect: TdxNavBarCalcLinkHintRectEvent read; write;

Remarks

Write the OnCalcGroupHintRect event handler to define the dimensions of the hints of NavBar links.

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

The ALink parameter specifies an object of the TdxNavBarItemLink type which represents the NavBar link the hint dimensions are currently being 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 link hint. The parameter’s initial values are calculated by the control itself, but you can change them.

See Also