Vcl.ExtActns.TTabAction.BeforeTabChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeTabChange: TNotifyEvent read FBeforeTabChange write FBeforeTabChange;

C++

__property System::Classes::TNotifyEvent BeforeTabChange = {read=FBeforeTabChange, write=FBeforeTabChange};

Properties

Type Visibility Source Unit Parent
event public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TTabAction

Description

Occurs immediately before the action changes the page of the associated tab control.

Write a BeforeTabChange event handler to perform any additional tasks before the tab action changes the current page of the associated tab control. Typically, this event is used to save or respond to the changes the user made on the current page before it changes.

Note: BeforeTabChange only occurs if the action tries to change the page of the tab control (even if it is not successful). If the action attempts some other task (for example, when TNextPage is on the last page of the tab control), BeforeTabChange does not occur.

See Also