Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 DragConditionproperty 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.

...

Code Block
// 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")

See Also

DefDraggableItemDroppableDragCondition