Search code examples
c++imagec++buildervcl

Image not showing in TSpeedButton


I'm working with Embarcadero C++Builder. I'm using the TSpeedButton component with a .bmp image. No matter what format I try, everything looks great in the IDE, but when I compile and generate the .exe file and then start the application, there are no images. There is the text with a small white square on the TSpeedButton. I have tried the .png, .jpg, .bmp, .ico formats. Is there any solution to my issue?.


Solution

  • I have find the solution of my issue. it was just a problem of compatibility mode applied by default by windows 10. I have just disabled the running of the application under compatibility mode Win XP SP2 and then no showing issue.

    Thanks for all your support.