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 sourcecomp

List component with dragged items

VARIANT rowkeys

Rowkey(s) of dragged items

OBJECT targetcomp

Target list component

RECORD options

Options

allowfailure

Allow drop failure

dropeffect

Drop effect: one of "move", "link", "copy", defaults to "move"

droplocation

Drop location: one of "ontarget", "appendchild", "insertbefore", defaults to "ontarget". Only allowed when dropping on a list.

target

Optional rowkey of target row (if not specified, dropped in empty space)

Return value

BOOLEAN

Whether a drop handler was found and executed