[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTabControl.Change

Performs actions to show or hide pages when the current page is changed.

Declaration

Source position: comctrls.pp line 444

protected procedure TCustomTabControl.Change; virtual;

Description

Change is a method used to performs actions needed to show or hide pages in the tabbed control.

Change calls ShowCurrentPage to display the page in PageIndex, and hide the previously visible page in the tabbed control. Change calls DoChange when the control is not being destroyed, or loaded in the LCL component streaming mechanism.

Change is called from the MoveTab method, and when selection change messages are handled for the control.