Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.OnCloseTabClicked property

Member of TCustomTabControlpublicIn unit ComCtrls

Event handler signalled when a tab is closed.

Declaration

pascal
property OnCloseTabClicked: TNotifyEvent read FOnCloseTabClicked write FOnCloseTabClicked;

Description

OnCloseTabClicked is a TNotifyEvent property with the event handler signalled when a tab on the control is closed. OnCloseTabClicked is signalled (when assigned) when the user clicks on the close button for a given tab. An application can implement and assign a handler routine which performs actions needed when the tab is closed.

The Sender argument contains the tabbed control instance for the event notification, but must be cast to TCustomTabControl to access properties and methods specific for the class type.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.