Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== DRAGCOPY Property ====== ==== Applies To ==== Drag Source controls ==== Description ==== A boolean property denoting if a drag source control allows a copy operation ==== Usage ==== dragCopy = Get_Property(dragSource, "DRAGCOPY") existingState = Set_Property(dragSource,"DRAGCOPY", bValue) ==== Remarks ==== Values passed in Set_Property(): ^Value^Description^ |bValue|Boolean true (1) or false (0)| By default the DRAGCOPY property is set to 1. This property should be set during the DRAGSTART event when overriding the default property. The DRAGMOVE property overrides the DRAGCOPY property. If you have both the DRAGMOVE and DRAGCOPY properties set to 1 then the DRAGMOVE will occur not the DRAGCOPY. ==== Returns ==== Values returned by Get_Property and Set_Property ^Value^Description^ |dragCopy|the Boolean status of the control’s DRAGCOPY.| |existingState|the Boolean status of the control’s DRAGCOPY, when Set_Property was run.| ==== See Also ==== [[dragsource|DRAGSOURCE property]], [[dragmove|DRAGMOVE property]] ==== Example ==== <code> Declare function Get_Property, Set_Property * Turn the DRAGCOPY property off. dragSource = Get_Property("SYSTEM","DRAGSOURCE") dragCopy = Set_Property(dragSource,"DRAGCOPY",0) </code> guides/programming/programmers_reference_manual/dragcopy.txt Last modified: 2024/06/19 20:20by 127.0.0.1