Applies to
Drop Source controls
Description
A boolean property denoting if a drop source control allows a MOVE operation.
Usage
dropMove = Get_Property (dropSource, "DROPMOVE")
existingState = Set_Property (dropSource,"DROPMOVE", bValue)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
bValue | Boolean true (1) or false (0) |
By default the DROPMOVE property is set to 1. If the Drag Source control does not allow a MOVE operation then setting this property to True will have no effect. OpenInsight will set this property before calling the DRAGOVER event based upon the restrictions of the Drag Source.
When overriding the default property of the Drop Target control, this property should be set during the DRAGOVER event.
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
dropCopy | the Boolean status of the control’s DROPMOVE. |
existingState | the Boolean status of the control’s DROPMOVE, when Set_Property was run. |
See Also
DROPSOURCE property, DROPCOPY property, DRAGMOVE property
Example
Declare function Get_Property, Set_Property * Turn the DROPMOVE property off on the Dragover event. dropSource = Get_Property("SYSTEM","DROPSOURCE") dropMove = Set_Property(dropSource,"DROPMOVE",0)