Vcl.ComCtrls.TTabChangingEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

Type Visibility Source Unit Parent
typedef public 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