guides:programming:programmers_reference_manual:dropresult

DROPRESULT Property

Drop Target controls

The DropResult property is set to prevent OpenInsight from performing any default data copy or move operations after the DRAGROP event returns.

dropResult = Get_Property(dropSource, "DROPRESULT")

existingResults = Set_Property(dropSource,"DROPRESULT", value)

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.

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.
Declare function Get_Property, Set_Property

 

* Set the DROPRESULT property

 

dropTarget = Get_Property("SYSTEM","DROPTARGET")

dropResult = Set_Property(dropTarget,"DROPRESULT","MOVE")
  • guides/programming/programmers_reference_manual/dropresult.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1