Page 1 of 1

make List Control Transparent

Posted: Wed Nov 24, 2010 3:15 am
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?

Re: make List Control Transparent

Posted: Sat Dec 04, 2010 9:00 pm
by ScottBot
Not sure I follow. Can you attach a screen shot and the actual PNG?

Re: make List Control Transparent

Posted: Wed Dec 08, 2010 1:22 pm
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

Re: make List Control Transparent

Posted: Wed Dec 29, 2010 9:58 am
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.

Re: make List Control Transparent

Posted: Sun Jan 02, 2011 6:53 am
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