Drag Data from one datagrid to another
Posted: Tue Aug 30, 2016 6:44 pm
The attached LiveCode test of drag-drop from one datagrid to another is pretty much what I want. I can drag single or multiple lines from the 'source' datagrid and drop them on the 'destination' datagrid. The one further behavior I would like to have is to be able to drag multiple lines in the 'source' grid and have them be selected (highlighted) so that they can then be moved to the 'destination' grid. The only way I can select multiple lines for dragging is with click followed by shift-click. Is there any way this can be fixed?
(The button at the top of the screen can be used to restore the two grids to their original contents.)
As a side note, I have noticed that putting break points in the 'drag' events of either of the grids can cause the debugger to get locked up to where you cannot edit the code. The only solution I could find was to close the script editor and re-open it.
Larry
(The button at the top of the screen can be used to restore the two grids to their original contents.)
As a side note, I have noticed that putting break points in the 'drag' events of either of the grids can cause the debugger to get locked up to where you cannot edit the code. The only solution I could find was to close the script editor and re-open it.
Larry