Skip to main content

TdxBarCaptionButton Class

A toolbar title button.

Declaration

TdxBarCaptionButton = class(
    TcxInterfacedCollectionItem,
    IdxBarHintKeeper
)

Remarks

If specified (see the bar’s CaptionButtons property), the button appears at the far right end of a toolbar’s title. The button can be created at both design (using the bar’s CaptionButtons‘s editor) and run-time (using the button collection’s Add method).

By default, the button is provided with a built-in glyph. Use the Glyph property to specify a custom glyph.

To provide end-users with information on the purpose of a button, use a hint or a ScreenTip (see the button’s Hint and ScreenTip properties).

You can associate any action with the button by handling the button’s OnClick event.

Implements

See Also