Grid.GetDragAndDrop

boolean Grid.GetDragAndDrop (

string ObjectName )

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