FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TBar?
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 07:47 AM
With the latest libs I get

Error BASE/1004  Class: 'NIL' has no exported method: OBAR


running the following sample:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oPrn

    PRINT oPrn PREVIEW
        PAGE
        ENDPAGE
    ENDPRINT

    RETURN NIL


EMG
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Bug in TBar?
Posted: Tue Oct 16, 2007 08:10 AM

Guess RPreview is checking for oBar of WndMain(). In this example WndMain() returns NIL. This is my guess but this is the most likely possiblity.

Mr. Antonio to Fix it in notime.

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Bug in TBar?
Posted: Tue Oct 16, 2007 08:11 AM

Sorry, I meant
Mt Antonio "can" fix in no time.

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 08:15 AM

Fixed :-)

Thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 09:54 AM
Sorry, now it gives

Error BASE/1004  Class: 'NIL' has no exported method: L2007


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 10:02 AM

Fixed, thanks Enrico :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Bug in TBar?
Posted: Tue Oct 16, 2007 10:03 AM

It is the same issue. The intention was to ascertain if the WndMain()'s oBar and oMsgBar's l2007 is true.

Another peaceful look at the code will bring out where all the nil checks are to be made.

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 10:04 AM

Please check with the new LIBs just sent, thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar?
Posted: Tue Oct 16, 2007 10:11 AM

Damn, I left one. Fixed :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM

Continue the discussion