main logo
Subject: Re: [dabo-users] DblClick event does not fire
Author: Paul McNett

Posted: 2007/09/30 11:17:29
 
View Entire Thread
New Search


lalong1 AT bellsouth D.O.T net wrote:
> The doubleclick does not fire unless the column is readonly or the mouse
> position is not over an editable area.
>
> g.bindEvent(dEvents.GridMouseLeftDoubleClick, self.onDistGridDblClick)
>
> def onDistGridDblClick(self, evt):
> evt.stop()
> self.Form.notifyUser('Double click')
>
> I put the code above into the sample in dGrid.py to verify.
> Any suggestions?

File a ticket; When you double-click into an editable cell, the first
click will enable the editor and the second click should emit a click
event from the editor. A double-click should emit a double-click that
you can respond to.

We can do this, we just haven't taken it this far yet. When you do the
ticket don't make it specific to double-click, but to all common
mouse/keyboard events.

Thanks!

--
pkm ~ http://paulmcnett.com



 
©2007 Paul McNett
<-- Prior Message New Search Next Message -->