Page 1 of 1

menu item's image type changed and now they don't show up

PostPosted: 04 Feb 2018 15:34
by EitanArbel
hi

it's been many months since i last changed anything in my Menu.
i don't know when this has changed, but now, when i load a png image in design time, it is shown as a TPngGraphics, instead of TPngImage that it used to be.
because of that, none of the png images that i set now, are shown in runtime, and in design time they all look with white background like they don't have transparency.
on the other hand, all the images that i already had looks fine, and they are all TPngImage but they all shows up normally in runtime...

if it matters - i set all my pictures as : Picture.UserChache:=True

what am i missing please?
Thanks

Re: menu item's image type changed and now they don't show u

PostPosted: 06 Feb 2018 13:30
by Alexander Bulei
Hi EitanArbel,

Do you have any component installed, which can provoke it?

I have like this:

2018-02-06_12-27-36.png


Best Regards.

Re: menu item's image type changed and now they don't show u

PostPosted: 06 Feb 2018 15:05
by Jorge Sousa
Hi

Do you have any component installed, which can provoke it?


Find the package that registers (RegisterGraphicClass) the class TPngGraphics

Re: menu item's image type changed and now they don't show u

PostPosted: 06 Feb 2018 19:01
by EitanArbel
Alexander and Jorge, you were both right.
it was a package of EnVision that i installed for another project...
Thanks !