Bug in Fivewin.ch (TWindow)

Bug in Fivewin.ch (TWindow)

Postby Enrico Maria Giordano » Fri Apr 12, 2013 8:03 pm

In the following sample we should get a TWindow while what we get is a TMdiFrame:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd;
           PIXEL

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

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Bug in Fivewin.ch (TWindow)

Postby Antonio Linares » Sat Apr 13, 2013 10:28 am

Enrico,

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

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


Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain



Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Jimmy and 64 guests