FMXTileList and FMXBitmapContainer

The images in the FMXBitmapContainer - what format should they be?
I have 5 images. But some I do not see on a Tile.

Do the images have to be JPG or BMP or PNG or something else?

Is it something to do with transparency?

Also - does the   Item.Name  need to match the file name of the image?

(So if I have mail.png then the Item.Name = mail)

Regards,
  Peter Evans


Did you use the AdvSmoothTileListImageVisualizer component?


Kind Regards, 
Pieter

I did not use the AdvSmoothTitleListImageVisualizer component. According
to the context sensitive help in Delphi XE6 that component is only for
32 bit Windows and 64 bit Windows. I am using FireMonkey.
I am using
the FMXTileList and FMXBitmapContainer. I thought I had to use the
FMXBitmapContainer with the FMXTileList? I do not understand.

I
am using a FMXTileList. There is a property BitmapContainer. It points
to FMXBitmapContainer. There is a property Items. I have 5 items each of
which are images.
The first 3 can be seen on a Tile.
Item 0 =
128x128 image. Item 1 = 48x48 image. Item 2 = 64x64 image. Item 3 =
48x48 image. Not visible on a Tile. Item 4 = 48x48 image. Not visible on
a Tile.
I have now tried JPG, BMP, PNG and ICO.
If I change a Tile that does not display Item 4 to point to Item 0 then I can see that image on the Tile!
Please let me know what kind of image I must use in the FMXBitmapContainer that works with the FMXTileList.

Hi, 

I was mistaking with VCL, with the AdvSmoothTileList. For FireMonkey you should only need the TMSFMXBitmapContainer and the TMSFMXTileList. Did you set the loBitmap flag under TileOptions to true? The kind of images you can use are listed in the filter when right-clicking the TMSFMXBitmapContainer and clicking "add files from folder". You should normally get a bitmapcontainer dropdownlist on the bitmapname property of each tile.

If you keep experiencing issues, please send us your sample so we can investigate this here.

Kind Regards, 
Pieter
Pieter Scheldeman2014-08-28 02:54:11

I have made a sample. When I did so I found that I can see all the images!
So, I need to check my real application to see where it is different. Very strange.

But, there was another problem. That problem is seen in the sample. So within the next hour I will send the sample program.
This is the problem - Have 3 pages on the FMXTileList. If click on 3rd Footer Bullets then the display looks wrong. But if click on 2nd Footer Bullets, then the 3rd Footer Bullets, looks OK.
However if click on Footer Arrow two times then the 3rd page looks OK.
The same problem is with the Header Bullets.

I found the solution to the image problem. It is to do with having the FMXTileList and FMSBitmapContainer on a TFrame.
The other problem of the Footer Bullets still remains.

Are you using the latest version, and which version of Delphi are you using?

We have tested your sample, but are unable to reproduce this here. Can you exactly describe tile loading effect you are seeing when clicking directly on the third footer bullet. Please note that the animation is disabled when switching more than 1 page. This is by design.

Pieter Scheldeman2014-09-03 03:00:10

The problem is now fixed. I updated to v 2.5.2.0 of 29Aug14.
Thank you.