FormTreeControl.dragDrop Method

Definition

Overloads

dragDrop()

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

dragDrop(Int32)

dragDrop()

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

public:
 override int dragDrop();
public override int dragDrop ();
override this.dragDrop : unit -> int
Public Overrides Function dragDrop () As Integer

Returns

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

Remarks

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

boolean dDragDrop; 
// The ctrl variable was previously assigned  
// as a FormTreeControl value. 
// Retrieve the drag and drop enabled value. 
dDragDrop = ctrl.dragDrop(); 
// Set the drag and drop enabled value. 
ctrl.dragDrop(true);

Applies to

dragDrop(Int32)

public:
 override int dragDrop(int _value);
public override int dragDrop (int _value);
override this.dragDrop : int -> int
Public Overrides Function dragDrop (_value As Integer) As Integer

Parameters

_value
Int32

An Integer data type that indicates whether drag-and-drop behavior is enabled.

Returns

Applies to