When TAB and ESC are pressed while typing in the edit box, a square box is added for these non-printable characters. This can be easily observed using the UserInterface example in the SDK. I have not found any other non-printable characters which are similar displayed.
The simple and obvious fix is to trap KEY_TAB and KEY_ESCAPE in CGUIEditBox::processKey(), but there might be other things I've overlooked, or we could use TAB key to change the focus of the UI elements like in standard windowing systems.
TAB and ESC in CGUIEditBox
-
loonychewy
- Posts: 22
- Joined: Fri Dec 30, 2005 2:00 am
- Location: Singapore
- Contact:
hmm yes, tab and shift-tab should switch between tabbable controls, ctrl+tab between windows, return should press a default button, escape for a cancel or minimize button, there should be keyboard and scrollwheel navigation, and a way to group controls within a parent. i'll look at adding all these after the next release