Sign in Join
FPDoc Onlineexperiment

TPageControl.OnCloseTabClicked property

Member of TPageControlpublishedIn unit ComCtrls

Event handler signalled when a tab is closed.

Declaration

pascal
property OnCloseTabClicked:;

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.

This description is the one of ComCtrls.TCustomTabControl.OnCloseTabClicked.

See also

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