FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveLinux / FiveDroid (Android) Controlling Tab Order
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
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:

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

Continue the discussion