FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Button Images
Posts: 28
Joined: Mon Apr 27, 2009 03:37 PM
Button Images
Posted: Fri Sep 04, 2009 09:30 AM

Hi,

Is it possible to use a .jpg for a button image rather than a bmp on a buttonbar?

Regards

Gary

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Button Images
Posted: Fri Sep 04, 2009 10:25 AM
Gary,

The BMP-Format supports Alpha-Channels, mostly used for Buttons.
You can define a Image in JPG-Format as Button, but with this Solution, the complete
Image will be the button.

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: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Button Images
Posted: Fri Sep 04, 2009 12:17 PM

Gary,

Currently we only support BMPs and Alpha-Chanel BMPs (as Uwe has explained) for ButtonBar buttons.

Anyhow the Class TBtnBmp could be easily modify to support other graphic formats as we do in Class TImage.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion