I have a Button
which is linked to an ImageList
. I change the ImageIndex
over a OnClickEvent
.
Now i got the problem that when i change the image
with the OnClickEvent
it changes, but if i move my mouse over it it shows me the old one and is pulsing.
Anyone knows how to disable this pulsing / flashing / swapping?
EDIT: HotImage were Index 0.
Are you sure this not a VLC bug? I would advice you the following.
It would be great if you could post the OnClick() event so we can check if something is wrong with the code (auto-change).
To test if that is a VLC bug, try to use the same code on another version of Delphi, if the problem occurs again, it is up to your project and code. In case everything works fine, I would advice you to contact Embarcadero and to report the issue/bug to them. You will help to a Delphi community and make it stronger.
Also, if you are familiar with Windows API, try to code a pure native button with CreateWindowEx API and internal coded functions for OnClick() event. This is only case if you can't find any other way out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With