ON TAB procedure

PrJlndni

Member
Hi, Good day!

I would like to ask if you know how to manually add a tab using "ON TAB" procedure. I mean, how can I manually manipulate the tabs in ABLProgress?

Please help. Thank you.
 

Osborne

Active Member
Do you mean something like this?:
Code:
ON TAB OF Customer.CustNum IN FRAME F1 DO:
    MESSAGE "Tab selected." VIEW-AS ALERT-BOX.
END.
or:
Code:
ON TAB OF FRAME F1 ANYWHERE DO:
    MESSAGE "Tab selected." VIEW-AS ALERT-BOX.
END.
 

PrJlndni

Member
No Sir. What I mean is like this:

ON TAB OF field1 IN FRAME F1 DO:
FOCUS field3 IN FRAME F1.
END.

*I would like to jump to any fields. Not just stucking to the default level of tabbing.
 

Osborne

Active Member
Something like this then should work:
Code:
ON TAB OF field1 IN FRAME F1 DO:
    APPLY "ENTRY" TO field3 IN FRAME F1.
    RETURN NO-APPLY.
END.
Also, have a look at KEEP-TAB-ORDER which is used for frames as you may find that useful.
 
Top