Vcl.StdCtrls.TCheckBox.Visible

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Visible;

C++

__property Visible = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCheckBox

Description

Specifies whether the component appears onscreen.

Vcl.StdCtrls.TCheckBox.Visible inherits from Vcl.Controls.TControl.Visible. All content below this line refers to Vcl.Controls.TControl.Visible.

Specifies whether the component appears onscreen.

Use the Visible property to control the visibility of the control at run time. If Visible is True, the control appears. If Visible is False, the control is not visible.

Calling the Show method sets the control's Visible property to True. Calling the Hide method sets it to False.

For TCustomForm descendants, the Show and ShowModal methods set Visible to True and bring the form to the front of all open windows.

For TTabSheet descendants, Visible does not control the visibility of the control at run time. For more information, see the description of the TabVisible property.

See Also

Code Examples