Visible Property

Applies to TestComplete 14.10, last modified on June 5, 2019

Specifies whether the component is visible on screen at run time.

Declaration

componentObj.Visible
Read-Write Property Boolean
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TBevel, TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TImage, TObjectPicker, TPanel, TRectObjectPicker, TShape

Description

The Visible property specifies whether the component appears on screen at run time. To hide the component, set its Visible property to False.

Property Value

True if the component is currently visible on screen; False otherwise.

Remarks

The Visible property only has effect at run time. If you set the component’s Visible property to False during design-time, it will still be visible on the form.

If the component is invisible, all child components are invisible too.

Highlight search results