Menu

#193 NS4 Problem with Drag and dblClick-Event

open
nobody
5
2001-11-15
2001-11-15
No

Hi

When I add an drag and an dblClick-Event to a layer,
in NS4.7(Win32) the dblClick doesn't work.
(IE 5 and NS 6.1 works fine)

When I have just one of them, each works fine.
only in combination

Here is the sample of the Code

dPad=new DynLayer(null,10,10,40,20,'#000000',null,10)
DragEvent.enableDragEvents(dPad)
DragEvent.setDragBoundary(dPad)
b=new EventListener()
b.ondblclick =function(e)
{
alert('yup')
}
dPad.addEventListener(b)
DynAPI.document.addChild(dPad)

can anyone help?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.