Sisa,
I think you misunderstood the question. The question wasn't in relation to putting the focus on a field, it was in relation to putting the focus on an action when in a MENU statement.
Compare these lines of code
DISPLAY FGL_WINQUESTION("Title","Message","yes","yes|no","stop",0)
DISPLAY FGL_WINQUESTION("Title","Message","no","yes|no","stop",0)
or
MENU ""
COMMAND "Yes"
NEXT OPTION "No"
COMMAND "No"
NEXT OPTION "Yes"
COMMAND "Exit"
EXIT MENU
END MENU
in both the GDC and GWC
In GDC in a MENU, a menu option has the focus, is rendered differently, and the user can press Enter to select it. In GWC out of the box that doesn't happen.
Without trying it first, the Action node does have an attribute hasFocus
https://4js.com/online_documentation/fjs-gas-manual-html/User/TPLRef2_PathsWindow.html#PATH_ACTION so I figure you ought to be able to render the Menu Action that has focus differently by interrogating that value. However what I'm not sure is how you could get it so that when ENTER is pressed it looks up the action that has the focus and triggers it.
Reuben