Using the Visible property

If the Visible property of a control is selected, the control displays in the window. If you want a control to be initially invisible, be sure the Visible property is not selected in the General tab page in the control’s Properties view.

Hidden controls do not display by default in the Window painter’s Layout view.

StepsTo display hidden controls in the Layout view:

  1. Select Design>Show Invisibles from the menu bar.

To display a control at runtime, assign the value “true” to the Visible property:

controlname.Visible = TRUE