Solved

Show Listview image from database (String field)

Posted on 2016-08-29
5
104 Views
Last Modified: 2016-09-01
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
Comment
Question by:Allan_Fernandes
  • 2
  • 2
5 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 41775312
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
 

Author Comment

by:Allan_Fernandes
ID: 41775366
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
 
LVL 25

Expert Comment

by:Sinisa Vuk
ID: 41775434
And example works exact like you want to....
0
 
LVL 45

Assisted Solution

by:aikimark
aikimark earned 250 total points
ID: 41775455
I guess you'll need 10 copies of the FM control and will need to assign properties with each list selection
0
 
LVL 25

Accepted Solution

by:
Sinisa Vuk earned 250 total points
ID: 41775457
One example is here ... (Embarcadero CodeCentral)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now