FormComboBoxControl.dragDrop Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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);
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 value that indicates whether drag-and-drop behavior is enabled; optional.