FOCUS handle is unknown after return from WAIT-FOR
When a procedure is run in the character or GUI client with the -p startup parameter from the command line, after a WAIT-FOR statement returns the value of the FOCUS handle is unknown (?). When the same procedure is run from the character or GUI Procedure Editor, after the WAIT-FOR returns the value of the FOCUS handle is the handle of the last widget to have focus.