recompiling an oldest application : TPanel error ldrag ?

recompiling an oldest application : TPanel error ldrag ?

Postby Silvio.Falconi » Wed Mar 14, 2018 9:10 pm

I not change anything!!!

I Have not words!!!!


:shock: :shock: :shock: :shock: :shock:

Code: Select all  Expand view  RUN

Application
===========
   Path and name: C:\Work\Prg\fsdi2006\main.Exe (32 bits)
   Size: 3,891,712 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 17.12
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.1, Build 7600

   Time from start: 0 hours 0 mins 1 secs
   Error occurred at: 14-03-2018, 22:02:28
   Error description: Error BASE/44  Assigned value is wrong class: TPANEL:LDRAG
   Args:
     [   1] = N   16777215

Stack Calls
===========
   Called from:  => TPANEL:_LDRAG( 0 )
   Called from: .\source\classes\TPANEL.PRG => TPANEL:NEW( 43 )
   Called from: source\pcustomer2.prg => BUILDEXPLORERBAR( 174 )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7084
Joined: Thu Oct 18, 2012 7:17 pm

Re: recompiling an oldest application : TPanel error ldrag ?

Postby Silvio.Falconi » Wed Mar 14, 2018 9:27 pm

correct!!

::lDrag = .f.

was remmed .....why?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7084
Joined: Thu Oct 18, 2012 7:17 pm

Re: recompiling an oldest application : TPanel error ldrag ?

Postby nageswaragunupudi » Thu Mar 15, 2018 12:58 am

In 2017 July, 6th param lDesign was added to the method New, which defaults to .F. and
::lDrag := .f. was changed to ::lDrag := lDesign.

Any existing programs, if correctly written, should not have any problem with this change.
Prior to this change method New had 5 params, <top>, <left>, <bottom>, <right>, <wnd>. Had you used 5 params only you would not had any issues.

You obviously used a numeric value as 6th parameter. That resulted in this error. Had you used 5 params you would not have had this error.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10680
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], SantaCroya and 47 guests