Drag & Drop specifications in HELP

Everything else that doesn't fall into one of the other PB categories.
User avatar
TI-994A
Addict
Addict
Posts: 2791
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Drag & Drop specifications in HELP

Post by TI-994A »

Following a recent question on the forum, I've been tinkering with PureBasic's drag & drop functions. The example in the help file is excellent, although I noticed that it does not include the TextGadget() or StringGadget(). Upon trying it out, it seems that there's only drop support for the StringGadget() and no support at all for the TextGadget().

If this is the case, it might be good for the help file to indicate which gadgets the drag & drop library supports, along with the supported functions for each gadget.

The current content in the help file implies that the library supports all gadgets. :)
- PureBasic Drag&Drop
- EnableGadgetDrop()
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8453
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Drag & Drop specifications in HELP

Post by netmaestro »

You are probably right in the strictest sense, since there is no native substitute for #SS_NOTIFY. That said, the text gadget will allow a drop operation on it if it has that style bit set.
BERESHEIT
User avatar
TI-994A
Addict
Addict
Posts: 2791
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Drag & Drop specifications in HELP

Post by TI-994A »

netmaestro wrote:...the text gadget will allow a drop operation on it if it has that style bit set.
Hi netmaestro. Would that be a setting from PureBasic's drag & drop library, or would it require an API workaround?
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Post Reply