Vcl.TabNotBk.TPageChangeEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPageChangeEvent = procedure(Sender: TObject; NewTab: Integer;
var AllowChange: Boolean) of object;

C++

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

Properties

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

Description

TPageChangeEvent is the type for event handlers that respond when the current page changes in a TTabbedNotebook control.

Sender is the TTabbedNotebook control.

NewTab is the tab that is about to become the selected or current tab.

AllowChange specifies whether the change to a new page is allowed. If the event handler sets AllowChange to false, a new page change doesn't occur.

See Also