Vcl.ExtActns.TNextTab.BeforeTabChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeTabChange;

C++

__property BeforeTabChange;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TNextTab

Description

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

Vcl.ExtActns.TNextTab.BeforeTabChange inherits from Vcl.ExtActns.TTabAction.BeforeTabChange. All content below this line refers to Vcl.ExtActns.TTabAction.BeforeTabChange.

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