RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNextTab.AfterTabChange Event

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

Pascal
property AfterTabChange: TNotifyEvent;
C++
__property TNotifyEvent AfterTabChange;

Write an AfterTabChange event handler to perform any additional tasks after the tab action changes the current page of the associated tab control. Typically, this event is used to initialize the current page of the tab control.

Note: AfterTabChange 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), AfterTabChange does not occur.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!