Andrei E.
Andrei E.

Reputation: 61

How to setup a background image in delphi while using FMX

I tried to use Timage component to setup the background (as exemplified here) but I have figure out that Timage doesn't have Picture properties anymore so I can't load it, is there any other way to load it?

I use rad studio xe7, maybe that's the problem.

Upvotes: 2

Views: 1999

Answers (1)

Hans
Hans

Reputation: 2262

You can still use TImage in FMX. It has just been extended to support the large variety of resolutions when developing for multiple targets. Use the property MultiResBitmap to load your image, then set WrapMode to e.g. stretch (if you want your image to be stretched).

Upvotes: 3

Related Questions