Button Images

Button Images

Postby Gary Woodley » Fri Sep 04, 2009 9:30 am

Hi,

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

Regards

Gary
Gary Woodley
 
Posts: 28
Joined: Mon Apr 27, 2009 3:37 pm
Location: Oxford UK

Re: Button Images

Postby ukoenig » 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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Button Images

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests