Default droppable setting for new items.
Set_Property(OLECtrlEntID, "OLE.DefDroppable", OptionValue) |
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Default | D | Use the DropCondition property to decide |
Always | A | The new item can be a drop target |
Never | N | The new item cannot be a drop target |
Default: Default
The DefDroppable property establishes the default droppable setting for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemDroppable property for details.
For more information on how default properties can make you more efficient, see the Default Properties article.
// Make all new items a drop target Set_Property(@Window:".OLE_TREE", "OLE.DefDroppable", "Always") |
ItemDroppable, DefDraggable, DropCondition