Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 Alternate keyboard navigation

open
nobody
None
5
2009-03-04
2009-03-04
Salvatore Isaja
No

Greetings,
I'm proposing an alternate keyboard navigation for the property grid. While a textctrl-based editor is focused, up and down keys are used to move to the previous or next property, and Enter moves to the next property. This is quite comfortable for inserting data repeatedly through a property grid. Due to application requirements, I'm also skipping category properties while doing this.
Due to TortoiseSVN patch creator, the attached patch (against SVN trunk) also includes my autocompletion modification I've already filed.
Tested on wxMSW 2.8.9.
If you opt to apply this patch, you might want to make this behavior parametric.
HTH,
Salvo

Discussion

  • Note: the Enter key is processed in wxEVT_KEY_DOWN because the autocompletion object (enabled through IAutoComplete and IAutoComplete2) would eat wxEVT_COMMAND_TEXT_ENTER when autocompletion is enabled. BTW, it also eats Tab. This workaround did not help: restore the original window procedure, attach IAutoComplete to the edit control and change again to the wxWidgets window procedure.