Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / July 2007

Tip: Looking for answers? Try searching our database.

File format for button images in Access 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Curious - 12 Jul 2007 05:52 GMT
I've noticed that the default button images used by Access (i.e. the "X" for
delete) appear to be partially transparent. I've created my own images but
they all have a solid gray (on Windows Theme) or solid white (on Classic
Theme) background when I insert the image onto a command button.

Since users view the database with different themes for their controls, I'd
like an image that works on either type of command button, but I can't figure
out what file format works.  Alpha-masked gifs and icon files fail to load
properly.  Any ideas what image file format I can try?
jahoobob - 12 Jul 2007 14:45 GMT
They are bitmaps (.bmp.)  You can easily edit any image in Paint and convert
it to a bmp.
As far as partially transparent, I'm guessing you are referring to the fact
that the red X appears on a grey background just as all the other images on
buttons.  I think that is because the image actually has that background
surrounding it.  You can edit your image in Paint to appear partially
transparent.
Try using RGB 212, 208, 200 as the background color of your bmp.

>I've noticed that the default button images used by Access (i.e. the "X" for
>delete) appear to be partially transparent. I've created my own images but
[quoted text clipped - 5 lines]
>out what file format works.  Alpha-masked gifs and icon files fail to load
>properly.  Any ideas what image file format I can try?
Curious - 12 Jul 2007 17:34 GMT
I've posted an example using your recommendation, Jahoobob; however, unlike
the Windows image, the custom image (regardless of the background color) does
not exhibit the same transparency across themes.

Example at http://curiouswork.blogspot.com/2007_07_01_archive.html

> They are bitmaps (.bmp.)  You can easily edit any image in Paint and convert
> it to a bmp.
[quoted text clipped - 14 lines]
> >out what file format works.  Alpha-masked gifs and icon files fail to load
> >properly.  Any ideas what image file format I can try?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.