Selected

Description

A list of selected controls within the DataWindow.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Selected

Describe and Modify argument:

"DataWindow.Selected = ' list ' "

Parameter

Description

list

A list of the controls you want to select. In the list you designate a group of controls by specifying a range of row numbers and a range of controls in the format:

startrow/endrow/startcontrol/endcontrol

To specify more than one group, separate each group with a semicolon:

startrow1/endrow1/startobj1/endobj1;startrow2/endrow2/startobj2/endobj2;...

Do not include spaces in the string. You must use column names, not column numbers.

Examples

Example 1

setting = dw1.Object.DataWindow.Selected

dw1.Object.DataWindow.Selected = &

"1/10/emp_id/emp_name;12/23/salary/status"

Example 2

setting = dw1.Describe("DataWindow.Selected")

dw1.Modify("DataWindow.Selected="  &

"'1/10/emp_id/emp_name;12/23/salary/status'")