Sign in Join
FPDoc Onlineexperiment

TNotebook.ShowControl procedure

Member of TNotebookpublicIn unit ExtCtrls

Displays the specified control (page object).

Declaration

pascal
procedure ShowControl(AControl: TControl); override

Description

ShowControl is an overridden procedure used to display the control specified in AControl. ShowControl checks the internal list of pages for the value specified in AControl. The ordinal position for the page object, when found, is assigned to the PageIndex property and causes the page object to become visible.

ShowControl calls the inherited method prior to exit.

No actions are performed in the method when AControl is the same as the control stored in the ActivePageComponent property.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.