Skip to main content

TdxBarItem.HasAccel(TdxBarItemLink) Method

Specifies if TdxBarItem includes an accelerator key.

Declaration

function HasAccel(AItemLink: TdxBarItemLink): Boolean; virtual;

Parameters

Name Type
AItemLink TdxBarItemLink

Returns

Type
Boolean

Remarks

Returns True if a given item has an accelerator key. Use the bar item’s Caption property to specify the accelerator key. Handle a bar manager’s OnHandleKey event to prevent the bar manager from handling certain accelerator keys.

See Also