API:Vcl.ExtActns.TPreviousTab.BeforeTabChange
Delphi
property BeforeTabChange: TNotifyEvent read FBeforeTabChange write FBeforeTabChange;
C++
__property BeforeTabChange;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TPreviousTab |
Description
Occurs immediately before the action changes the page of the associated tab control.
Vcl.ExtActns.TPreviousTab.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.