- Code: Select all Expand view RUN
#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd
LOCAL oGet, cVar := SPACE( 30 )
DEFINE WINDOW oWnd
@ 1, 1 GET oGet VAR cVar OF oWnd;
SIZE 100, 20
// oGet:SetFocus()
ACTIVATE WINDOW oWnd
RETURN NIL
If you press Tab you will get the following error:
Class: NIL has no exported method GONEXTCTRL
Uncommenting oGet:SetFocus() the error goes away.
EMG