Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 20 NOV 2003 04:04:25AM Colin Rule wrote:

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


At 20 NOV 2003 08:53AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

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.

The Sprezzatura Group

World leaders in all things RevSoft


At 20 NOV 2003 09:16AM Donald Bakke wrote:

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

SRP Computer Solutions, Inc.


At 20 NOV 2003 11:22AM Pat McNerthney wrote:

I did rework the transparency code in the Presentation Server in the upcoming 7.0 version. I think it should work much better.

Pat


At 20 NOV 2003 12:01PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Cool :) … have to give it a try!

The Sprezzatura Group

World leaders in all things RevSoft


At 21 NOV 2003 03:57AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

While we're on the topic … :)

Do the listbox and edit table support transparency in bitmaps in OI7 too?

The Sprezzatura Group

World leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/4b4ebb03a4e6cfe685256de40031d7fa.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1