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

Automatic – PB Docs 150 – PowerBuilder Library

Automatic – PB Docs 150

Automatic property for PowerScript controls

Controls

CheckBox and RadioButton controls

Description

When the Automatic property is enabled, the state of the control
changes automatically when the user selects it. Typically, the state
toggles between selected and not
selected
. For check boxes, if the ThreeState property
has been enabled, the state of the control also toggles to a third
state
.

When this property is enabled, a mark is displayed in the
control when the control’s state is selected and
no mark is displayed when the control’s state is not
selected
. For check boxes, if the ThreeState property
is enabled, a grayed out mark is displayed for the third
state
.

Usage

In a painter

proc.png To enable automatic state change:

  1. Select the Automatic check box on the General
    page of the control’s Properties view.

In scripts

The Automatic property takes a boolean value. This example
sets a CheckBox so that its state changes each time it is selected.


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