FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Upgrade to 15.01 some buttons not painted correctly
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Upgrade to 15.01 some buttons not painted correctly
Posted: Tue Feb 03, 2015 03:59 PM
I recently upgraded FWH to 15.01 and noticed that some of my buttons no longer display properly. I have narrowed it down to the images that are 256 color BMP.
I converted the images to True Color with Alpha channel and they work ok. 16 color and True color seems to be working ok.
Here is one of the original 256 bitmaps:
Here is a screen shot example problem.

Here is the screen shot of current program.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Upgrade to 15.01 some buttons not painted correctly
Posted: Tue Feb 03, 2015 09:05 PM
Can you please make this change in "btnbmp.prg" ?

Present line 1141:
Code (fw): Select all Collapse
              if Empty( ::hPal )


Please change the line as:
Code (fw): Select all Collapse
              if .t.


Please link the modified btnbmp.prg in your application and let us know if the painting of all buttons in your application is okay.
Regards



G. N. Rao.

Hyderabad, India
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Upgrade to 15.01 some buttons not painted correctly
Posted: Tue Feb 03, 2015 10:58 PM

Yes, that fixed it. Of coarse I already spent time modifying the bmp's :D

Thank You

Continue the discussion