Controlling Tab Order

Controlling Tab Order

Postby xProgrammer » 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:

Code: Select all  Expand view
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
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 6 guests

cron