Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mask for .bmp on commandbutton
Message
 
 
To
13/11/2007 16:26:03
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01268699
Message ID:
01268775
Views:
13
I'm no expert but it is easy to see there are a few "issues" with image handling in VFP! I don't want to make a big project out of this but it's annoying to have the white aura on the command buttons when it doesn't appear on forms. I'm not really interested in converting the library I bought and I don't have much to work with except MS Paint anyway.

>Are you shure you get transparent pngs in commandbuttons?< Reasonably sure: images are transparent everywhere except on commandbuttons.

>You can use 32bpp png files in buttons, but 8bits alpha mask will look bad. The best bet is to stick to 24bpp or indexed 256 color images, with a 1 bit aplha mask (the color white in bmp files, the alpha mask in png files)<

OK, I'm such a neophyte when it comes to graphics that I'm not sure what you are telling me here. My choices are: 24-bit mask bmp, 32-bit alpha bmp, 32-bit alpha png, 32-bit icon, 256 color gif with transparency, 256 color png with transparency, 256 color icon, and the layered Adobe PSD file. Since I don't have PhotoShop, the PSD isn't much help. What would work best?

I thought I could just change the magenta on the 24-bit mask bmp to the gray RGB(236,233,216) that is supposedly the backcolor and disabled backcolor of the command button--but they don't match.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform