Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Specifying accessibility of controls – PB Docs 90 – PowerBuilder Library

Specifying accessibility of controls – PB Docs 90

Specifying accessibility of controls

Controls have two boolean properties that affect accessibility
of the control:

  • Visible
  • Enabled

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.

proc.gif To display hidden controls in the Layout view:

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

To display a control during execution, assign the value true to
the Visible property:

Using the Enabled property

If the Enabled property is selected, the control is active.
For example, an enabled CommandButton can be clicked, a disabled
CommandButton cannot.

If you want a control to display but be inactive, be sure
the Enabled property is not selected in the General tab page in
the control’s Properties view. For example, a CommandButton
might be active only after the user has selected an option. In this
case, display the CommandButton initially disabled so that it appears
grayed out. Then when the user selects the option, enable the CommandButton
in a script:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x