Controlling Tab Order
Posted: Mon Jul 14, 2008 11:39 am
I needed to control tab order (amongst GETs) on my DIALOGS. Although I had code that was working it had some problems with Shift-Tab support and block editing so I have rehashed it somewhat.
Now rather than use code blocks I have added (optional) DATAs to class TGet as follows:
Shift-Tab is handled entirely in KeyDown(), Tab is flagged in KeyDown() and handled in LostFocus(). I am happy to share details if its of interest to others. My TGet is fairly heavily modified because I am supporting Tab, Shift-Tab, block editing and black text in non-editable mode.
Regards
xProgrammer
Now rather than use code blocks I have added (optional) DATAs to class TGet as follows:
Code: Select all
DATA oNextTab /** next tab stop */
DATA oPrevTab /** previous tab stop */
Regards
xProgrammer