Hi everyone,
I'm trying to build some simple drag and drop functionality from one row of the datagrid to another...
the dragstart message is sent correctly, but none of the drag messages are received by the row onto which I drag.
my DG is in table mode...
Can anything be done?...any ideas?
DragDrop message not received by datagrid row
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
DragDrop message not received by datagrid row
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
(Solved) DragDrop message not received by datagrid row
the mouseRelease message however is successfully delivered..... so i can substitute it for the drag drop message.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Re: DragDrop message not received by datagrid row
This works for me, putting the code on the datagrid group:
########CODE#######
on DragEnter
set the dragAction to "copy"
end DragEnter
on DragDrop
put the dragdata ["files"] into temp
set itemdel to "/"
put last item of temp into tempnome
ask "How do you call this file?" with tempNome
#...
end DragDrop
#####END OF CODE#####
########CODE#######
on DragEnter
set the dragAction to "copy"
end DragEnter
on DragDrop
put the dragdata ["files"] into temp
set itemdel to "/"
put last item of temp into tempnome
ask "How do you call this file?" with tempNome
#...
end DragDrop
#####END OF CODE#####
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
[solved] DragDrop message not received by datagrid row
thank you i ended up figuring that out as well. did quite a bit of modifications to the drag drop functions in the original code to change how the drag indicator looked and worked....but it was all quite easy,
thank you.
thank you.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com