Dialog tab order implementation

- Defaults to order of definition in file
- tab-order attribtue can be set to a postive number to force towards the start, or a negative number to force towards the end
This commit is contained in:
2014-11-29 16:03:54 -05:00
parent 6f9b5c8f69
commit 84f53a8a7d
4 changed files with 67 additions and 13 deletions

View File

@@ -36,6 +36,7 @@ public:
void handleInput(cKey key);
cTextField& operator=(cTextField& other) = delete;
cTextField(cTextField& other) = delete;
long tabOrder = 0;
private:
bool isNumericField;
focus_callback_t onFocus;