Establishes whether or not an item can be dragged.
Usage
Set_Property(OLECtrlEntID, "OLE.ItemDraggable[key]", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Default | D | Use the DragCondition property to decide |
Always | A | The item can be dragged |
Never | N | The item cannot be dragged |
Default: Default
Indices
Index | Description |
---|---|
key | An item's unique key |
Remarks
The ItemDraggable property can be used to establish whether or not an item is draggable. By default, the value is set to "Default", which means that the DragCondition property will determine whether or not the item can be dragged. However, if you want to make the item draggable regardless of the DragCondition property, then set this property to "Always". Likewise, set this property to "Never" to ensure that the user will never be able to drag the item.
Use the DefDraggable property to set the default draggable value for new items.
Example
// Make Item1 draggable Set_Property(@Window:".OLE_TREE", "OLE.ItemDraggable[Item1]", "Always") // Let the DragCondition property decide whose draggable Set_Property(@Window:".OLE_TREE", "OLE.ItemDraggable[All]", "Default")