FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

TEXT

Skip an Edit Field from the tab order with PG PRO


The way I'd do it would be to capture the key down events before PG got to them and replace what PG thinks is the next EF in the tab order with the next that isn't static. I write a little function that is called every time there is a key press (or maybe only when it's the tab key). The FN would check the pref and then, if there are static fields, loop through EFids (starting with the one being tabbed to) until i found a non-static. Then I'd put that EFid into PG's list so it thinks that's the next field.

Dunno if that's the most effecient but I'm pretty sure it would work just the way you want.

*Chris


The problem is that PG uses its internal object list to determine where it should tab. You need to change the entry in the object record.

elem = FN pGgetRef(_myWindow,_myfield)
FN pGgetObj(_myWindow,elem)
gObjZtype = < -- your new type here
FN pGputObj(_myWindow,elem)

STAZ ~)~