Specifying accessibility of controls  Using the Enabled property

Chapter 11: Working with Controls

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 properties 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.

StepsTo display hidden controls during execution:

  1. Assign the value true to the Visible property of each hidden control:

    controlname.Visible = TRUE
    




Copyright © 2004. Sybase Inc. All rights reserved. Using the Enabled property

View this book as PDF