user3250933
user3250933

Reputation: 59

Picture value of TImage is not staying TBitmap

In a Delphi XE3 project, I am having an issue in changing a bitmap image. In the design view the picture value of a TImage is TBitmap, as shown:

TBitmap

However, when I change the image, the picture value is a TDXSmartImage:

TDXSmartImage

So far, the actual image type has had no influence on keeping the picture value a TBitmap. Bitmaps, PNGs, JPEGs, have all been tried, as well as other formats. Additionally, when the project is built and run using the TDXSmartImage, there is no actual image. There is only a white block with all of the other visual components properly displayed on the screen.

I have not been able to track down how to keep the TBitmap format and prevent the TDXSmartImage format from being "used".

Does anyone have any suggestions? Thank you in advance.

Upvotes: -2

Views: 839

Answers (1)

user3250933
user3250933

Reputation: 59

Resolved the issue by uninstalling the Dev Express packages. This project was inherited from another developer, who had a fascination with third party components.

While this may seem like a cop-out, these components are not used anywhere in the project.

As a side note, simply disabling the packages was the first step taken that provided a resolution. However (much to my surprise), the Delphi XE3 development suite re-enabled the packages the next time it was booted up.

Upvotes: 0

Related Questions