Sign in Join
FPDoc Onlineexperiment

TControl.IsControlVisible function

Member of TControlpublicIn unit Controls

True if the control is Visible, or is in design mode.

Declaration

pascal
function IsControlVisible: Boolean; virtual

Function result

True if the Visible property is set and the control is not disabled on the design surface at design-time.

Description

The return value is True when the Visible property is set to True. The value is False at design-time if the ControlStyle property includes the value csNoDesignVisible. IsControlVisible does not check the visibility for parent controls in the control hierarchy.

Use IsVisible to consider the visibility for any Parent controls.

See also

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