getFocus()
Return the name of the current focused element.
Syntax
getFocus()
RETURNS STRING
Usage
You can use it to return the name of the focused element to test this action in a scenario. It can be a simple form field, a table, or a tree. For example:
DISPLAY "The focus is now in " || ggc.getFocus()