Uwe Grauer wrote: > Ed Leafe wrote: >> Well, at least with "esc". I've run various tests, and it appears >> that although the correct entries are made in the accelerator table >> for the form, pressing "esc" has no effect. I've tested with both >> plain forms as well as dialogs. >> >> I'm wondering if this is a VMWare thing, or if anyone else with a >> true Windows machine can verify. A quick script to test it follows my >> sig. >> >> -- Ed Leafe >> > > I tested your script on win2000 native (no VM): > Platform: Win > Python Version: 2.5.2 on win32 > Dabo Version: Version 0.8.4; Revision ~4235 > UI Version: 2.8.8.0 on wxMSW > > The esc-key had no effect. > There was no printout from onEscapePressed().
It may be that for the accelerator table to work on Windows, there needs to be at least one control that can receive focus. We may need to reimplement the esc using the keypress event for the form or even the app. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
