Code: Select all
#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
Class: NIL has no exported method GONEXTCTRL
Uncommenting oGet:SetFocus() the error goes away.
EMG