Bug in TWindow

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in TWindow

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

Antonio Linares
www.fivetechsoft.com
Post Reply