Skip to main content

TcxPCButton.OnCanShow Event

Enables you to dynamically switch the custom button’s visibility within individual tabs.

Declaration

property OnCanShow: TcxPCButtonCanShowEvent read; write;

Remarks

The AButton parameter provides access to the button whose visibility is to be specified.

The ATabIndex parameter identifies the tab that contains the AButton.

Pass False as the ACanShow parameter to prohibit the button from being displayed in the tab.

Note

The OnCanShow event fires only if the settings are set to display the AButton within tabs.

See Also