Checked – PB Docs 150

Checked property for PowerScript controls

Controls

CheckBox, RadioButton controls, and Menu objects

Description

When the value of the Checked property is TRUE,
the item or control is selected.

Control

Displayed when selected

CheckBox

X displays in the check box

Menu item

Check mark displays next to the item

RadioButton

Center of button becomes dark

If Checked is false, the item or control
is not selected.

Usage

In a painter

proc.png To set the Checked property on a control:

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

proc.png To set the Checked property on a menu item:

  1. Select the menu item in the Menu painter.

  2. Select the Checked check box on the General page.

In scripts

The Checked property takes a boolean value. The following
example sets the Checked property of a RadioButton to true,
which causes the button to be selected.

For menu items in drop-down or cascading menus, you can also
use the Check and Uncheck functions.
See the descriptions of those functions for examples of equivalent
syntax.


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