DataGrid - drag & Drop rearranging order

Robert Man robert at rman.on-rev.com
Wed Nov 11 08:31:53 EST 2009


solution to know wher you drop your gold is : put the dgDataControl of
dragDestination into tDestinControl
then you can get put the dgLine of tDestinControl into tDestinLine
and off you are.. 
<p></p>
I attach the working solution I have so far which is nearly ok :
http://n4.nabble.com/file/n585846/completeFormDatagridDragDrop
completeFormDatagridDragDrop 
it's a fully verbose version.. 
<p></p>
What is yet not working is that the drop does not actually follows the
visual indicator like what happens in the dragDropReorder.  Any hint
welcomed!



> I tried to get the dgIndex of dragDestination : does not work
> I tried to get the dgIndex of the owner of dragDestination : works
> half-way (starts working but stops working on 4th drop on a dgrid that has
> 5 lines).
> 

-- 
View this message in context: http://n4.nabble.com/DataGrid-drag-Drop-rearranging-order-tp346791p585846.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list