I have buttons with images, that make the button show then the mouse hovers over it.
Problem is, that when you change the XP desktop theme, the background of the button shows.
Does anyone know how to make the button background transparent so that it picks up the colour of the form?
Colin Rule
Colin,
Have you tried setting the transparent property of the bitmap you are using on the button? This might work for you but we've found it to be very flakey in the past - it seems to have problems determining the background color it should use to paint images.
World leaders in all things RevSoft
Colin,
My first suggestion was going to be to do what Sprezz suggested. However, I did not know that the transparent property was flakey since we rarely use a standard buttons to make PUSHBMP controls anymore.
If you are willing to consider using OLE then you might want to contact us regarding our button control. Not only does it allow transparency, it will also allow you to emulate whatever button style you want…including XP Styles/Themes.
dbakke@srpcs.com
I did rework the transparency code in the Presentation Server in the upcoming 7.0 version. I think it should work much better.
Pat
Cool :) … have to give it a try!
World leaders in all things RevSoft
While we're on the topic … :)
Do the listbox and edit table support transparency in bitmaps in OI7 too?
World leaders in all things RevSoft