Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]


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


Source position: controls.pp line 1643

public function TControl.IsVisible: Boolean; virtual;

Function result

True when the control and and all Parent controls are Visible.


IsVisible calls IsControlVisible to determine if the control has its Visible property set to True. At design-time, ControlStyle is also checked to ensure that csNoDesignVisible is not used in the style flags. Each of the Parent controls in the hierarchy call their IsVisible method to determine the return value for the method.

Use IsEnabled to get the effective enabled state for the control and all of its Parent controls.

See also



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



The control within which the control is shown.



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



Returns True if both the control and all of its Parent controls are Enabled.

CT Web help

CodeTyphon Studio