Error on Turlink/explorer

Error on Turlink/explorer

Postby Silvio.Falconi » Wed Dec 18, 2019 9:47 am

I recompiled an old app make with fwh Texplorer class
and found this error


Code: Select all  Expand view  RUN
 Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20161218)
   FiveWin  version: FWH 19.09
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.1, Build 7601 Service Pack 1

   Time from start: 0 hours 0 mins 10 secs
   Error occurred at: 18-12-2019, 10:32:31
   Error description: Error BASE/1004  Class: 'NUMERIC' has no exported method: HFONT
   Args:
     [   1] = N   50

Stack Calls
===========
   Called from:  => HFONT( 0 )
   Called from: .\source\classes\WINDOW.PRG => TURLLINK:SETFONT( 3083 )
   Called from: .\source\classes\URLLINK.PRG => TURLLINK:NEW( 82 )
   Called from: .\source\classes\TEXPLBAR.PRG => TTASKPANEL:ADDLINK( 472 )
   Called from: source\SDS500N.PRG => BUILDPANEL( 142 )



than I saw someonechanged the the method
METHOD AddLink( cPrompt, bAction, cBitmap, oFnt, nClrT, nClrP, nClrO )
then so
I change
oApp():oCont2:AddLink( "Cancella un utente", {|| Baja() }, ".\bitmaps\TECH_CAN.bmp",50,60 ,ofontmenu)

with oApp():oCont2:AddLink( "Cancella un utente", {|| Baja() }, ".\bitmaps\TECH_CAN.bmp",ofontmenu)

but I have this result

Image

why the font of menu (urlnk) is big?

Why not make a release compatible with the oldes relelases ? each time I must
every time we have to start over and do everything again
but this time I don't understand what happened
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: 7074
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error on Turlink/explorer

Postby karinha » Wed Dec 18, 2019 8:00 pm

Code: Select all  Expand view  RUN

   //oPanel1:AddLink( "enero" )
   oPanel1:AddLink( ( "enero" ),,, oFont )

   // oPanel1:AddLink( "febrero" )
   oPanel1:AddLink( ( "febrero" ),,, oFont )
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7842
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error on Turlink/explorer

Postby Silvio.Falconi » Wed Dec 18, 2019 9:05 pm

Clap clap clap
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: 7074
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

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