Drag & drop reordering of a DataGrid form

Monte Goulding monte at sweattechnologies.com
Mon Oct 4 17:54:26 EDT 2010


> In the dgDragMove handler update the code that sets the dragAction to this:
> 
> ## Make sure data grid control will accept drop
> if the dragSource contains the long ID of me and (the mouseControl is not
> empty and the long id of the mouseControl contains the long ID of me) then
>   set the dragAction to "move"
> end if


Thanks Trevor, that did the job.
--
Monte Goulding
M E R Goulding Software Development
Bespoke application development for vertical markets

InstallGadget - How to create an installer in 10 seconds
revObjective  - Making behavior scripts behave




More information about the use-livecode mailing list