Controlling Tab Order

Post Reply
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Controlling Tab Order

Post by xProgrammer »

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:

Code: Select all

DATA oNextTab  /** next tab stop */
DATA oPrevTab  /** previous tab stop */
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
Post Reply