Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The message can only be used during the DRAGSTART event for drag source control.

See also

DRAGSOURCE propertyDROPTARGET propertyCLEARDRAGDATA messageREMOVEDRAGDATA messageGETDRAGDATA message

Example

Code Block
* Change the "TEXT" data being dragged
dragSource = Get_Property("SYSTEM","DRAGSOURCE")
data = Send_Message(dragSource,"GETDRAGDATA","TEXT","","")
if data _eqc 'Woodrow Wilson' then
  newData = "Theodore Roosevelt"
  data = Send_Message(dragSource,"SETDRAGDATA","TEXT","",newData)
end