make List Control Transparent

Having problems? Maybe others have had the same problem too. Post HouseBot technical issues here.
Post Reply
peter
Member
Posts: 35
Joined: Wed May 31, 2006 3:51 am
Location: Berlin , GER

make List Control Transparent

Post by peter »

Hi all, Hi Scott,
If I create a list control and choose "Image Contructed List" and!! take a PNG file which is nothing but transparent then the result looks like this:
The 1st line seems to be really transparent meaning the background of the panel is visible, That's as expected.
The 2nd line and following with text in it has a color like the 1st line's background and does not!! seem to be transparent

Any idea for this?
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: make List Control Transparent

Post by ScottBot »

Not sure I follow. Can you attach a screen shot and the actual PNG?
Scott
peter
Member
Posts: 35
Joined: Wed May 31, 2006 3:51 am
Location: Berlin , GER

Re: make List Control Transparent

Post by peter »

Hi Scott,
attached is a screen shot with the list marked red, where you see the top line with same color like the panel's background. The lines below have the same color like the first one.
Also the PNG file is attached. It's called transparentbackground.png. Both of the images are in the zip-file too.
Thanks
peter
Attachments
images.zip
(47.69 KiB) Downloaded 1082 times
Transparentbackground.png
Transparentbackground.png (2.78 KiB) Viewed 15023 times
screenshot.jpg
screenshot.jpg (45.73 KiB) Viewed 15023 times
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: make List Control Transparent

Post by ScottBot »

Peter,

Sorry for the long response; I must have missed your response.

Running this with your transparent image seems to work for me. Are you running this on a Windows machine or on a CE/Mobile device?

One thing you might want to try is increasing the height of the transparent image to fill the entire height of the list.
Scott
peter
Member
Posts: 35
Joined: Wed May 31, 2006 3:51 am
Location: Berlin , GER

Re: make List Control Transparent

Post by peter »

Hi,
increasing the background image I had success. The selection bar image I left original sized of course. Thanks for the help.
peter
Post Reply