Versions Compared

Key

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

...

The ItemDroppable property can be used to establish whether or not an item is can be a drop target, i.e., an item upon which the user can drop other items. By default, the value is set to "Default", which means that the DropCondition property will determine whether or not the item can be a drop target. However, if you want to make the item droppable regardless of the DropCondition property, then set this property to "Always". Likewise, set this property to "Never" to ensure that the user will never be able to drop other items on this one.

...

Code Block
// Make Item1 a permanent drop target 
Set_Property(@Window:".OLE_TREE", "OLE.ItemDroppable[Item1]", "Always") 

// Let the DropCondition property decide whose droppable 
Set_Property(@Window:".OLE_TREE", "OLE.ItemDroppable[All]", "Default")

See Also

DefDroppableItemDraggableDropCondition