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():

ValueDescription
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

ValueDescription
dropResultMOVE or COPY.
existingStatethe status of the control’s DROPMOVE property, when Set_Property was run.

See Also

DROPSOURCE propertyDROPCOPY propertyDRAGMOVE property

Example

Declare function Get_Property, Set_Property
 
* Set the DROPRESULT property
 
dropTarget = Get_Property("SYSTEM","DROPTARGET")
dropResult = Set_Property(dropTarget,"DROPRESULT","MOVE")
  • No labels