Skip to main content

TdxBarCustomButton Class

The base class for bar item classes that implement toolbar buttons.

Declaration

TdxBarCustomButton = class(
    TdxBarButtonLikeItem,
    IdxBarLinksOwner
)

Remarks

Buttons are the most common element on toolbars. The TdxBarCustomButton class provides the base functionality for various toolbar buttons, including standard, toggle, grouped buttons, buttons with dropdown menus, etc. These buttons are implemented by the TdxBarButton, TdxBarLargeButton, and TdxBarDBNavButton bar items and their descendants. In addition to introducing corresponding properties and methods, the TdxBarCustomButton class initializes the inherited UnclickAfterDoing property with True to underpin the functionality that relates to button clicks. You can handle them using the OnClick event.

Implements

See Also