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. ====== DRAGBUTTON Property ====== ==== Applies To ==== Drag Source controls. ==== Description ==== Contains a number specifying which mouse button was used to start the drag operation. For use with Get_Property only. ==== Usage ==== dragButton = Get_Property(dragSource,"DRAGBUTTON") ==== Returns ==== A numeric value. ^Value^Description^ |0|Left Mouse button| |1|Right Mouse button| |2|Middle Mouse button| ==== See Also ==== [[dragsource|DRAGSOURCE property]] ==== Example ==== <code> Declare function Get_Property * retrieve the DRAGBUTTON property and display data in a message dragSource = Get_Property("SYSTEM","DRAGSOURCE") dragButton = Get_Property(dragSource,"DRAGBUTTON") begin case case dragButton = 0 msgText = "Left mouse button" case dragButton = 1 msgText = "Right mouse button" case dragButton = 2 msgText = "Middle mouse button" end case msg(@window,"The " :msgText: " was used to start the drag operation") </code> guides/programming/programmers_reference_manual/dragbutton.txt Last modified: 2024/06/19 20:20by 127.0.0.1