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

TControl.Visible

Visible - can the control be seen?

Declaration

Source position: controls.pp line 1402

public property TControl.Visible: Boolean
  read FVisible
  write SetVisible
  stored IsVisibleStored
  default true;

Description

The Visible property represents the ability to see a visual control. 
          If Visible is True the control is shown, otherwise it is hidden.
          Calling Show sets, among others, Visible to True.
          Setting Visible to False is equivalent to calling Hide method.
Remark: The Visible property does not depend on control's parent visibility. Use IsVisible method to consider this and get real visibility.

See also

#lcl.Controls.TControl.IsVisible

  

Returns True if the control is visible on the current desktop

#lcl.Controls.TControl.Show

  

Makes the control visible.

#lcl.Controls.TControl.Hide

  

Hide this control

The latest version of this document can be found at lazarus-ccr.sourceforge.net.