R
Roger
....or am I missing something?
Setup:
- I've created an empty Winforms project, and added two buttons A and B.
- Button A's Image property is set to point to a imagefile calles
"users.png"
- Added an imagelist and added the SAME image to this list, setting the
properties (size etc.) exactly the same as for A's Image property.
- Set button B's ImageList property to the new imagelist created, and it's
imageindex to 0.
The picture now shows on both buttons, but while Button A's image looks
great, Button B's image looks awful, with a blue border around
it....remember: It is the exact same picture, size, etc....
I did another post earlier, but after trying to tweak every possible setting
myself, and after extensive help from Armin Zingler, we have still not found
a reason for this behaviour. This may possibly be a problem affecting a lot
of users, so if anyone has suggestions on why this occurs, please let me
know... And if this is not a bug, there should be someone out there that
knows how to fix this....I hope...
I've provided a link to my testproject, the original .png image is in the
/bin folder.
http://langedal.com/testicons.zip
Getting increasingly frustrated.... ;-)
Roger
Setup:
- I've created an empty Winforms project, and added two buttons A and B.
- Button A's Image property is set to point to a imagefile calles
"users.png"
- Added an imagelist and added the SAME image to this list, setting the
properties (size etc.) exactly the same as for A's Image property.
- Set button B's ImageList property to the new imagelist created, and it's
imageindex to 0.
The picture now shows on both buttons, but while Button A's image looks
great, Button B's image looks awful, with a blue border around
it....remember: It is the exact same picture, size, etc....
I did another post earlier, but after trying to tweak every possible setting
myself, and after extensive help from Armin Zingler, we have still not found
a reason for this behaviour. This may possibly be a problem affecting a lot
of users, so if anyone has suggestions on why this occurs, please let me
know... And if this is not a bug, there should be someone out there that
knows how to fix this....I hope...
I've provided a link to my testproject, the original .png image is in the
/bin folder.
http://langedal.com/testicons.zip
Getting increasingly frustrated.... ;-)
Roger