Page 1 of 1

Bug in TWindow

Posted: Sun Dec 18, 2005 9:23 pm
by Enrico Maria Giordano
Try to run the following sample:

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
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

Posted: Sun Dec 18, 2005 10:19 pm
by Antonio Linares
Enrico,

With the latest FWPPC build published yesterday (yesterday two new builds were published) there is no error.

Posted: Mon Dec 19, 2005 7:45 am
by Enrico Maria Giordano
Confirmed! Thank you!

EMG