drag and drop gadget issue

Mac OSX specific forum
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

drag and drop gadget issue

Post by J. Baker »

I noticed that if you make a gadget into a drag and drop function, mouse clicks on the same gadget will crash it. Is there a way to cancel the mouse clicks on a drag and drop gadget?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: drag and drop gadget issue

Post by J. Baker »

Ok, I got it using "Case #PB_Event_GadgetDrop" instead of "Case 4" and "Event = #PB_Event_GadgetDrop". While still using "EnableGadgetDrop(4, #PB_Drop_Files, #PB_Drag_Link)" on the gadget. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
Post Reply