Selected.Mouse

Description

Whether the user can use the mouse to select columns.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Selected.Mouse

Describe and Modify argument:

"DataWindow.Selected.Mouse { = value }"

Parameter

Description

value

Whether the user can use the mouse to select columns.

Values are:

  • Yes – The mouse can be used.

  • No – The mouse cannot be used.

Usage


In the painter

Select the DataWindow by deselecting all controls; then set the value in the Properties view, General tab, Mouse Selection option (available when the presentation style is Grid or Crosstab).

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.Selected.Mouse

dw1.Object.DataWindow.Selected.Mouse = "Yes"

Example 2

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

dw1.Modify("DataWindow.Selected.Mouse = Yes")