Sign in Join
FPDoc Onlineexperiment

TWinControl.ShowControl procedure

Member of TWinControlprotectedIn unit Controls

Displays the control on its Parent.

Declaration

pascal
procedure ShowControl(AControl: TControl); virtual

Arguments

AControl

A control to display. Ignored in this method.

Description

ShowControl is a method used to display the control on its Parent. When Parent has been assigned, its ShowControl is called. This is repeated until a control without an assigned Parent is encountered.

ShowControl is called from the Show method in a control instance. It occurs before the Visible property is set toTrue, and forces each of the parent controls to become visible before setting the value in the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.