FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Strange look of BtnBmp, Style 2007, disabled
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Strange look of BtnBmp, Style 2007, disabled
Posted: Thu Jul 28, 2011 05:48 PM
Hello,

I want to show a Button < disabled > Style 2007,
but the BMP is full visible and the Text dissapears ( light gray on light blue ).



Changing to defined Gradient works :
it also shows different BMP's for Status enabled / disabled



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Strange look of BtnBmp, Style 2007, disabled
Posted: Thu Jul 28, 2011 07:42 PM
I know. I have had to create another bitmap for disabled look.
So with 2 bitmaps I would load them as follows

Code (fw): Select all Collapse
oButAdd:LoadBitmaps( ,,".\images\DocumentAdd32x32.bmp",".\images\DocumentAdd32x32.bmp",,".\images\DocumentAddDisabled32x32.bmp" )

Continue the discussion