ExecuteListDragDrop (open)
Do a drag-drop from list to list
Syntax
LOADLIB "mod::tollium/lib/testframework.whlib";
BOOLEAN FUNCTION ExecuteListDragDrop(OBJECT sourcecomp, VARIANT rowkeys, OBJECT targetcomp, RECORD options)Parameters
OBJECT sourcecompList component with dragged items
VARIANT rowkeysRowkey(s) of dragged items
OBJECT targetcompTarget list component
RECORD optionsOptions
allowfailureAllow drop failure
dropeffectDrop effect: one of "move", "link", "copy", defaults to "move"
droplocationDrop location: one of "ontarget", "appendchild", "insertbefore", defaults to "ontarget". Only allowed when dropping on a list.
targetOptional rowkey of target row (if not specified, dropped in empty space)
Return value
BOOLEANWhether a drop handler was found and executed