So I got visual feedback from drag-and-drop using the Levure DataView following instructions at:
• https://github.com/trevordevore/levurehelper-dataview I add the following code to the DataView: > quote_type > on dragStart > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > set the dragData["private"] to the dvHilitedRows of me # dragdata has to be > set to something. > end dragStart > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > put "Dragging" && pProposedRow && pProposedDropOperation > return true > end ValidateRowDrop > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > put "Dropped" && pRow && pDropOperation > end AcceptRowDrop > But the ValidateRowDrop message does not get sent, also I don’t get any visual feedback with a "drop indicator" (the line that shows you where the drop will occur) - any idea? 📆 Schedule a call with me On 11 Jun 2021, 16:03 +0100, David Bovill <david.bov...@gmail.com>, wrote: > Yeah sorry about the typo - sent from mobile. I meant Levure - as Trevor is > the main man with the drag stuff and having differenr styles for rows is a > must. > > NB on the typo front I have a distant memory that aeons ago when I first got > an iPhone I said yes to the spelling “fir”. Ever since then all my devices > seem to love this word - anyone have an idea how to correct this auto typing > flaw? > > 📆 Schedule a call with me > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode > <use-livecode@lists.runrev.com>, wrote: > > Hi David, > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode > > > <use-livecode@lists.runrev.com>: > > > > > > Is there a simple demo out there that shows how drag-reordering of rows > > > in a dataview works? Is this feature experimental? Got a deadline fir > > > Monday considering taking the plunge? > > > > Levite Dataview? 8-) > > Sure you do not mean LC datagrid? > > > > > 📆 Schedule a call with me > > > > No. :-D > > > > > > Best > > > > Klaus > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > kl...@major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode