FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in Fivewin.ch (TWindow)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Fivewin.ch (TWindow)
Posted: Fri Apr 12, 2013 08:03 PM
In the following sample we should get a TWindow while what we get is a TMdiFrame:

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd;
           PIXEL

    ACTIVATE WINDOW oWnd;
             ON CLICK MSGINFO( oWnd:ClassName )

    RETURN NIL


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Bug in Fivewin.ch (TWindow)
Posted: Sat Apr 13, 2013 10:28 AM
Enrico,

This fix in FiveWin.ch lines: 1346-1349 seems to solve it :-)

Code (fw): Select all Collapse
#xcommand DEFINE WINDOW <oWnd> ;
             [ FROM <nTop>, <nLeft> TO <nBottom>, <nRight> ] ;
             [<pixel: PIXEL>] ;
             [ TITLE <cTitle> ] ;


Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bug in Fivewin.ch (TWindow)
Posted: Sat Apr 13, 2013 10:34 AM

Thank you, Master! :-)

EMG

Continue the discussion