A problem in FWH11.01
A problem in FWH11.01
Hi, Mr.Antonio
I tested example testbtb.prg and got error :
Error description: Error BASE/1004 Class: 'NIL' has no exported method: HFONT
Args:
[ 1] = U
Stack Calls
===========
Called from: => HFONT(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:PAINT(1176)
Called from: .\source\classes\BTNBMP.PRG => (b)TBTNBMP:TBTNBMP(112)
Called from: => TBTNBMP:DISPLAY(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1459)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(1453)
Called from: .\source\classes\WINDOW.PRG => _FWH(3408)
Called from: => UPDATEWINDOW(0)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(976)
Called from: testbtb.prg => MAIN(92)
As I can solve this problem ?
Thanks.
I tested example testbtb.prg and got error :
Error description: Error BASE/1004 Class: 'NIL' has no exported method: HFONT
Args:
[ 1] = U
Stack Calls
===========
Called from: => HFONT(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:PAINT(1176)
Called from: .\source\classes\BTNBMP.PRG => (b)TBTNBMP:TBTNBMP(112)
Called from: => TBTNBMP:DISPLAY(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1459)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(1453)
Called from: .\source\classes\WINDOW.PRG => _FWH(3408)
Called from: => UPDATEWINDOW(0)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(976)
Called from: testbtb.prg => MAIN(92)
As I can solve this problem ?
Thanks.
Re: A problem in FWH11.01
Hi,
same prob on my machine, can't update to 1101, downgraded to 1011
same prob on my machine, can't update to 1101, downgraded to 1011

Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
Re: A problem in FWH11.01
Natter,
thank you very much, it works with:
But I don't want the border around each button, so it would be nice if 'lBarBtn := .T.' is functional again in the future
thank you very much, it works with:
Code: Select all | Expand
AEval( oBar:aControls, { | oBtn | oBtn:lBarBtn := .F. } )
But I don't want the border around each button, so it would be nice if 'lBarBtn := .T.' is functional again in the future

Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
Re: A problem in FWH11.01
hi, dont work for me... the background of buttons is not same of buttonbar, maybe i should use alpha channel bitmap, but in changelog of fwh1101 dont say this.
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: A problem in FWH11.01
Please see this posting of Mr. Antonio.
viewtopic.php?f=3&t=20880
This is implemented in fwh11.1 which has this side effect.
I removed the comments for the time being till Mr. Antonio finds a better fix.
viewtopic.php?f=3&t=20880
This is implemented in fwh11.1 which has this side effect.
I removed the comments for the time being till Mr. Antonio finds a better fix.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
-
- Posts: 363
- Joined: Wed Feb 15, 2006 2:06 pm
- Location: Oxford, England
Re: A problem in FWH11.01
Just tested 11.01 and can confirm that i have the same problem - even if i remove the comments Antonio recently put in.
Any updates on how to fix this?
Best regards,
Pete
Any updates on how to fix this?
Best regards,
Pete
Re: A problem in FWH11.01
2 weeks and no solution, only back to fwh1011??? whats is happend?? no fix, no path, no new release.
- TimStone
- Posts: 2955
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: A problem in FWH11.01
Bumped up for Daniel
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: A problem in FWH11.01
Hello
line 1176
change to
already fixed
line 1176
Code: Select all | Expand
hOldFont = SelectObject( ::hDC, If( ::lBarBtn, ::oWnd:oFont:hFont, ::oFont:hFont ) )
change to
Code: Select all | Expand
hOldFont = SelectObject( ::hDC, If( ::lBarBtn, If( ::oWnd:oFont != nil, ::oWnd:oFont:hFont, ::oFont:hFont ), ::oFont:hFont ) )
already fixed
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
- ruben Dario
- Posts: 1070
- Joined: Thu Sep 27, 2007 3:47 pm
- Location: Colombia
Re: A problem in FWH11.01
Daniel Garcia-Gil wrote:Hello
line 1176Code: Select all | Expand
hOldFont = SelectObject( ::hDC, If( ::lBarBtn, ::oWnd:oFont:hFont, ::oFont:hFont ) )
change toCode: Select all | Expand
hOldFont = SelectObject( ::hDC, If( ::lBarBtn, If( ::oWnd:oFont != nil, ::oWnd:oFont:hFont, ::oFont:hFont ), ::oFont:hFont ) )
already fixed
Daniel ,
Cual es la liberia que contiene este modulo, se puede retirar un colocar el corregido para corregir la libreria , como se hace.
Gracias
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: A problem in FWH11.01
Ruben...
BTNBMP....
BTNBMP....
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9