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

TControl.IsControlVisible

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

Declaration

Source position: controls.pp line 1720

public function TControl.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

TControl.Visible

  

Allows the control, and all of its children, to be displayed or hidden.

TControl.IsVisible

  

Gets the effective visibility for the control and all of its Parent controls.

TControl.Parent

  

The control within which the control is shown.


Version 3.2 Generated 2024-02-25 Home