TControl.IsControlVisible function
True if the control is Visible, or is in design mode.
Declaration
function IsControlVisible: Boolean; virtualFunction 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.
