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?
Thanks, Larry Long
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.33/1036 - Release Date: 09/28/2007 3:40 PM
©2007 |