FormComboBoxControl.dragDrop Method [AX 2012]

Determines whether drag-and-drop operations are enabled or disabled for the control.

public int dragDrop([int value])

Run On

Client

Parameters

value
Type: int
An integer value that indicates whether drag-and-drop behavior is enabled; optional.

Return Value

Type: int
1 if drag-and-drop operations are enabled; otherwise, false.

The following example shows how to return or set the value that indicates whether drag-and-drop behavior is enabled.

boolean bDragDrop; 
 
// The combo variable was previously assigned  
// as a FormComboBoxControl value. 
 
// Retrieve the drag-and-drop-enabled value. 
bDragDrop = combo.dragDrop(); 
 
// Set the drag-and-drop-enabled value. 
combo.dragDrop(true);

Community Additions

ADD
Show: