Determines if items expand automatically while doing a drag and drop operation.

Usage

Set_Property(OLECtrlEntID, "OLE.AutoExpandDuringDrag", Boolean)

Values

[True | False

Default: True

Remarks

By default, as the user hovers the mouse over an item during a drag and drop operation, the item (after a short pause) will expand or contract automatically. This allows users to find their preferred drop location even if the tree wasn't in the ideal state when the operation started. If this behavior is not desirable, set the AutoExpandDuringDrag to 0.

Example

// Do not auto-expand during drag and drop
Set_Property(@Window:".OLE_TREE", "OLE.AutoExpandDuringDrag", 0)

See Also

DragEnabledItemDraggableItemDraggingDefDraggableOnDragStartOnDragEnterOnDragExit

  • No labels