Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Icon background changes color : Black 1

Status
Not open for further replies.

Mezzzo

Technical User
May 30, 2003
56
US
Hi Group


When I add icons to the imagelist the icons look fine. Then I close the app and reopen then the background becomes black. I`m thinking that the transparent background of the icons isn`t truely transparent. I might have to remove the background or find images with no background color. Just a guess.
Note: I am using form theme software: ActiveSkin...Am wondering if that control has an affect on the icons.

Thanks
 
I had a similar problem, and found that if I loaded the icons into the imagelist each time the app loaded, the backgrounds remained transparent.

BB
 
Thanks for the answer

I am a newbie at this... how do I load the icons. I tried this syntax but no luck: ImageList2.Add , "open", LoadPicture(App.Path & "\open.gif")
 
Hi

I never did get the loadPicture syntax to work. I did
change the images for the toolbar from ico to bmp and
so far the problem of a black background has not shown
up.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top