Xbase++ : compare Object

Xbase++ : compare Object

Postby Jimmy » Mon Oct 28, 2019 3:17 am

hi,

i try harbour with Class Code and have a Problem

Code: Select all  Expand view
   IF oCenterIn != oParent
      aPos := oCenterIn:MapPoint( oParent, aPos )
   ENDIF
 
both are Xbase++ Class Object but under harbour i get

Error BASE/1072 Argument error: <>

HBPAPPDESKTOP <> HBPAPPDESKTOP

Called from CENTERCONTROL(113)
Called from MAIN(276)
so i can't compare Class Object with harbour :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1689
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Xbase++ : compare Object

Postby Antonio Linares » Mon Oct 28, 2019 9:51 am

Jimmy,

Try this:

IF ! oCenterIn == oParent
regards, saludos

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

Re: Xbase++ : compare Object

Postby Jimmy » Mon Oct 28, 2019 11:03 pm

hi,
Antonio Linares wrote:Try this:
Code: Select all  Expand view
IF ! oCenterIn == oParent
that Syntax seems to work, THX
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1689
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests