On Oct 28, 2006, at 8:03 AM, Basil Shubin wrote:
For each left button double click it has generate two events. How I can disable second event raise? For example when I double click on dGrid row I got dialog box for editing, but when I close it, it appears again, because of two same event in a queue.
Is this on Windows? There is something odd in the Windows event system in wxPython that occasionally generates double events. The work-around is to trap the event and skip it if it is a duplicate. If you look at the source code in dFormMixin.py, you can see an example of how we handled the double Activate events under Windows.
-- Ed Leafe -- http://leafe.com -- http://dabodev.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
