Show: Delphi C++
Display Preferences

Vcl.Forms.TCustomForm.Visible

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Visible: Boolean read FVisible write SetVisible stored IsVisibleStored default 0;

C++

__property Visible = {write=SetVisible, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Specifies whether the component appears onscreen.

Vcl.Forms.TCustomForm.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


Personal tools
In Other Languages
Previous Versions
Assistance