Page 1 of 1

Error on Turlink/explorer

Posted: Wed Dec 18, 2019 9:47 am
by Silvio.Falconi
I recompiled an old app make with fwh Texplorer class
and found this error

Code: Select all

  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

Re: Error on Turlink/explorer

Posted: Wed Dec 18, 2019 8:00 pm
by karinha

Code: Select all

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

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

Re: Error on Turlink/explorer

Posted: Wed Dec 18, 2019 9:05 pm
by Silvio.Falconi
Clap clap clap