block.dragAndDrop parameter

Use the block.dragAndDrop parameter to set or query whether text drag and drop is enabled.  This parameter is not supported on all platforms.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

block.dragAndDrop is scoped to the window containing the current view.
current.block.dragAndDrop is scoped to the window containing the current view.
default.block.dragAndDrop is globally scoped.
install.block.dragAndDrop is globally scoped.

Syntax

query block.dragAndDrop
set block.dragAndDrop [ default | on | off ]
query current.block.dragAndDrop
query default.block.dragAndDrop
set default.block.dragAndDrop [ install | on | off ]
query install.block.dragAndDrop 

Parameters

default If you specify the default parameter for the set block.dragAndDrop command, the window containing the current view will use the value of default.block.dragAndDrop to determine whether to enable drag and drop.
on If you specify the on parameter for the set block.dragAndDrop command, the window containing the current view will enable drag and drop.  If you specify the on parameter for the set default.block.dragAndDrop command, all of the windows that have block.dragAndDrop set to default will enable drag and drop.
off If you specify the off parameter for the set block.dragAndDrop command, the window containing the current view will not support drag and drop.  If you specify the off parameter for the set default.block.dragAndDrop command, all of the windows that have block.dragAndDrop set to default will not support drag and drop.
install If you specify the install parameter for the set default.block.dragAndDrop command, all of the windows that have block.dragAndDrop set to default will use the value of install.block.dragAndDrop to determine whether to enable drag and drop.

Description

If you do not specify any of the parameters for the set block.dragAndDrop command, default is assumed.  If you do not specify any of the parameters for the set default.block.dragAndDrop command, install is assumed.

The query current.block.dragAndDrop command returns on if drag and drop is enabled in the window containing the current view or off if drag and drop is not enabled in the window containing the current view.

Examples

query block.dragAndDrop
set block.dragAndDrop on
query current.block.dragAndDrop
query default.block.dragAndDrop
set default.block.dragAndDrop off
query install.block.dragAndDrop 

Related reference
block command
query command
set command
current parameter
default parameter
install parameter