Bug in TWindow

Post Reply
User avatar
Enrico Maria Giordano
Posts: 8736
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Bug in TWindow

Post by Enrico Maria Giordano »

Try to run the following sample:

Code: Select all | Expand

#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: 42409
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 12 times
Been thanked: 48 times
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
User avatar
Enrico Maria Giordano
Posts: 8736
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Post by Enrico Maria Giordano »

Confirmed! Thank you!

EMG
Post Reply