[Consultants] Dragging and being Dropped
Eelco van Kuik
tomcat-user at planet.nl
Thu Oct 9 16:40:18 EDT 2003
Hi.
I was hoping somebody could give me an answer to the following question:
Suppose I have a draggable object, i.e. a Label. I can get the events
for
starting a drag (ondraggesture), when something is dropped on it
(ondragdrop),
or when an item that is being dragged leaves the object (ondragexit).
However, I can't find the event when an item being dragged (in this case
the label)
is "dropped" on a "non-droppable" item.
Maybe an example would clear things:
If somebody would like to bookmark a search engine i.e. google. He or
she would have to
go to www.google.com and he or she can then drag some values into the
browser window
and drop them on the textfield.
Right now it is easy to fill the textfield with text. But I would
like to change the textfield into something else, and therefore, I need
to know which element
was being dropped upon.
Please ask me for more details if this explanation wasn't clear enough.
Regards,
Eelco van Kuik
Project owner of the NeedleSearch Toolbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/consultants/attachments/20031009/accde477/attachment.htm
More information about the Consultants
mailing list