Buttons and DragDrop

Klaus major-k klaus at major-k.de
Wed Jul 31 17:02:05 EDT 2019


Hi Bob,

> Am 31.07.2019 um 22:27 schrieb Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>:
> 
> Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is the dragDrop handler listed in the left pane as a possible handler then?
> 
> Bob S

just made a quick gtest with LC 9.5 on my Mac.
These scripts in a TABbed button works as exspected:
----------------------------------------------
on dragEnter
 set the dragaction to "copy"
end dragEnter

on dragDrop
 put the dragdata["files"] into fld 1
end dragDrop
----------------------------------------------
Or did I misunderstand your problem?


Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list