DROPRESULT Property
Applies To
Drop Target controls
Description
The DropResult property is set to prevent OpenInsight from performing any default data copy or move operations after the DRAGROP event returns.
Usage
dropResult = Get_Property(dropSource, "DROPRESULT")
existingResults = Set_Property(dropSource,"DROPRESULT", value)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
Value | "MOVE" or "COPY" |
This property can only be set during a DRAGDROP event. The result is reset to null at the start of every DRAGDROP event.
Note: If the DROPRESULT property is set all drag and drop activity must be handled by the programmer and not OpenInsight.
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
dropResult | MOVE or COPY. |
existingState | the status of the control’s DROPMOVE property, when Set_Property was run. |
See Also
Example
Declare function Get_Property, Set_Property * Set the DROPRESULT property dropTarget = Get_Property("SYSTEM","DROPTARGET") dropResult = Set_Property(dropTarget,"DROPRESULT","MOVE")