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

TControl.Visible

Allows to show or hide the control, and all of its children.

Declaration

Source position: controls.pp line 1571

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

Description

Visible is set to True by Show, or to False by Hide. Calling these methods is equivalent to setting the Visible property.

Remark: Reading the Visible property does not take into account control's parent visibility. Use the IsVisible method to get the real visibility.

See also

#lcl.Controls.TControl.IsVisible

  

Returns True if the control is visible, including all of its Parents.

#lcl.Controls.TControl.Show

  

Makes the control visible, by setting Visible to True.

#lcl.Controls.TControl.Hide

  

Hides this control, by setting Visible to False.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads