Hi everyone, if a dGrid has focus, the default behaviour if one hits -enter- is that the cell cursor goes one row down.
Right now i writing a 'navigation dialog' (to navigate to a dataset) with just a grid and two buttons (OK, Cancel), and I want the OK button to be pushed when the user hits -enter-. Setting the 'DefaultButton' property of the button to True doesn't work (because the Grid catches the event before the dialog ?). Which event of dGrid covers the hit of -enter-? I tried the KeyEvent and KeyChar of the Grid, neither works. Is there a possibility to tell the Grid 'ignore that event and put it through to the form'? As you might guess, I'm doing my first steps in gui programming, especially with dabo. I'd appreciate it if someone could point me to the right direction. Best Regards Peter -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
