• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

Show Listview image from database (String field)

In my database I have the file path of images. How can I use it to display the correct images in a listview that is Bound to the database ?
I am using Seattle - Firemonkey for Mobile development.
0
Allan_Fernandes
Asked:
Allan_Fernandes
  • 2
  • 2
2 Solutions
 
aikimarkCommented:
Generally, this is done by changing the properties of the 'bound' picture/image object every time an item in the list is selected.  Open up the Fishes sample application that comes with Delphi for an example of this.
0
 
Allan_FernandesAuthor Commented:
Somehow cannot find the FishFact example in Seattle will look up the older versions.
But that is when the item is selected. What I want is that if 10 records are displayed all ten should show their respective picture.
0
 
Sinisa VukCommented:
And example works exact like you want to....
0
 
aikimarkCommented:
I guess you'll need 10 copies of the FM control and will need to assign properties with each list selection
0
 
Sinisa VukCommented:
One example is here ... (Embarcadero CodeCentral)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now