Share via


FormComboBoxControl.dragDrop Method

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

Syntax

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.

Examples

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);

See Also

Reference

FormComboBoxControl Class