ui.DragDrop.GetOperation()

The dragged objects can be copied or moved to a new location. getOperation() is used to return the type of the current drag-and-drop operation. The method returns a string with the identifier of the current operation ("copy", "move"), or NULL if the operation was denied.

The program can use the returned value to change the data model. For example, when a row is dropped to a source list in a "copy" mode, the original row will be kept, while it will be removed if the drag and drop operation is performed in the "move" mode.

getOperation() is mostly used within the ON DRAG_FINISHED block. The method needs no arguments.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.