Hello.
Is it possible to have a transparent Listbox in Delphi?
And possibly a transparent Memo/textbox?
What are my options?
Thank you...
Hello.
Is it possible to have a transparent Listbox in Delphi?
And possibly a transparent Memo/textbox?
What are my options?
Thank you...
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
what a coincidence! i was just working on a very similar thing, i have a Tlistbox which is owner drawn to show a background image, and a Tedit with a bitmap background, which gives a illusion of transparency.
interested in any of these?
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
As far as I know, the only way to achieve transparency in the standard controls is to not use the standard controls and to draw them yourself.
Which, depending on the exact functionality you require, can be quite a lot of work.
:: AthenaOfDelphi :: My Blog :: My Software ::
I don't think the background image would help. There is a background for the program's interface and I would want that to show through the boxes, but if I used your background thing I would have to remake it and cut parts of it out.
How would I draw it myself?
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
Also, are there any other options other than drawing the listbox myself?
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
I copy part of the background underneath the control and paint the control with it. Works rather well to simulate transparency.
The views expressed on this programme are bloody good ones. - Fred Dagg
you could try alphablending & colorkeying the edit with win2k introduced window transparency on another form..
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
I don't know what that means.
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
Do a google search for "Delphi Transparent Listbox" and there are tons of resources on how to do it.
To make a listbox transparent there are some windows messages that need to be changed.
Try this link:
http://www.swissdelphicenter.ch/torr...de.php?id=1982
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
Bookmarks