Error on Turlink/explorer

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Error on Turlink/explorer

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error on Turlink/explorer

Post by karinha »

Code: Select all

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

   // oPanel1:AddLink( "febrero" )
   oPanel1:AddLink( ( "febrero" ),,, oFont )
 
João Santos - São Paulo - Brasil
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error on Turlink/explorer

Post by Silvio.Falconi »

Clap clap clap
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply