Icons color

D

DragonK

Hi,

I'm trying to create a form containing a Page Control (?) - the one with
tabs, not sure if this is the name - and I want to add a different icon on
the tab of each page.

The problem is that when I add the icon, their color depth is reduced to
something like 16 colors (?), anyway, much less than the icon had initially.
Does anyone know if there is a workaround for this? Which is the maximum
color depth for an icon, supported by Access (2003, btw).

Thanks
 
D

Damon Heron

Yes, that is a problem with the icons on tabs and command buttons. There is
a simple work around, though, if you are really intent on having these
icons. First, sent your tabcontrol style property to none. then add image
boxes in a row above the tabcontrol box. The image boxes will have as a
picture those icons or bitmaps you want to use. On the click event of the
image, code
Me.TabCtl0.Value = 0 '( the page value of each tab)

With a little more programming you can even make the images hilite on click,
but I will leave that to you to discover!

Damon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top