Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : ActiveX Control Support : Managing ActiveX controls at runtime : Working with ABL key functions : TAB, BACK-TAB, GO, HELP, and END-ERROR
 
TAB, BACK-TAB, GO, HELP, and END-ERROR
ABL enforces the TAB and BACK-TAB key functions in all ActiveX controls. If a control defines a meaning for the TAB or SHIFT+TAB key other than normal tabbing, the control-defined function will not work. (Few, if any, controls redefine the TAB or SHIFT+TAB key in this way.)
ABL also enforces behavior on the three keys that implement the GO, HELP and END-ERROR functions (normally the F2, F1 and ESC keys, respectively). Again, if the control normally uses these keys for another purpose, that functionality is lost in ABL. Note that the standard use of the F1 and ESC keys in Windows applications matches the standard use of HELP and END-ERROR in ABL, and ActiveX controls do not generally use F2.
All three of these key functions work if focus is in a subwindow of an ActiveX control. For example, suppose a calendar control has two subwindows where one holds the month and the other holds the year. If you click into one of these subwindows and press TAB, focus moves to the next control or widget in the frame.
To allow the control to process the GO, HELP, TAB, and ENDKEY keys, set the HonorProKeys extended property to FALSE.