[Delphi]Using PNG Files?

Experienced Elementalist
Joined
Jun 30, 2008
Messages
256
Reaction score
1
Ay my fellow coders! :D


See, I am making a launcher for Cabal Online, but I am having trouble with the images.

See, I made some images in Photoshop, and almost all of them, have some transparent areas.

The problem is, when I want my image1 to change to (examble) WebsiteButtonMouseOver.png, on the image1's OnEnter or MouseOver event, or whatever its called. Same with the Image1Clicked event, where I want the picture to change to WebsiteButtonPressed.png

Do you get what I mean? Now, how will I make it do that, without having the png files as seperate files? Are there any way I can like use png images from resource?

I know I can do it with bmp images, but they dont support transparency..


Hope you guys can help me with this.

Oh, and I googled, but I found nothing but dead links..

And if you are gonna post some sites you found on google, will you please check out if it works first?

Thanks. ^^
 
Back