Grid.SetDragAndDrop

Grid.SetDragAndDrop ( 

string  ObjectName,

boolean Enable = true )

Example 1

-- get the drag and drop status
bCanDrag = Grid.GetDragAndDrop("Grid1");

if bCanDrag then
    Grid.SetDragAndDrop("Grid1", false);
else
    Grid.SetDragAndDrop("Grid1", true);
end
 

Toggles the ability to drag and drop

See also:  Related Actions