Vcl.ComCtrls.TTabChangingEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTabChangingEvent = procedure(Sender: TObject; var AllowChange: Boolean) of object;

C++

typedef void __fastcall (__closure *TTabChangingEvent)(System::TObject* Sender, bool &AllowChange);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TTabChangingEvent is the type of a tab control's TTabControl.OnChanging and TCustomTabControl.OnChanging event handlers.

Sender is the tab control whose selected tab is changing.

AllowChange returns True if the tab control can change the current tab, False if the event handler blocks the change.

See Also