Show Listview image from database (String field)

Allan_Fernandes
Allan_Fernandes used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014

Commented:
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.

Author

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.
Sinisa VukSoftware architect
Top Expert 2012

Commented:
And example works exact like you want to....
Top Expert 2014
Commented:
I guess you'll need 10 copies of the FM control and will need to assign properties with each list selection
Software architect
Top Expert 2012
Commented:
One example is here ... (Embarcadero CodeCentral)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial