Guys,
tonight the IT devil is running free. Whatever I touch, miraculously fails. Even very basic things. And I cannot figure out why.
Problem (already isolated from project): I have an application with a form, and a TBitBtn on it, width=45, height=45.
I have a png, width = 180 (45x4), height = 45, 32 Bit colour depth (also tried with 24, no difference), with 4 different glyphs on it (for testing, I made 4 squares, 45x45 pixels each, in different colors).
I habe assigned the png to the "Glyph" property, and set NumGlyphs to 4. Everything else on the defaults, so BitBtn is enabled= true. The preview of the image in the glyph's load dialog looks fine.
When I run this project, always and only the first of the four glyphs is displayed, if I hover over or click onto the button. The button works OK, goes down and up on click. If the button is disabled, also no glyph is displayed as well, but some blueish placeholer.
I did also try to convert the png to jpg and bmp, same problem: I can load the glyph image, preview is fine, but if I run the project I do always get the first image on the button.
BUT: the project exe runs fine on Windows 10, while it fails on Windows 7 (no re-compile!). And I am (almost) sure I had this thing running well on Windows 7 this morning.
(Gnarl)
Anyone having an idea, why this can happen?
Armin.