Solved

Show Listview image from database (String field)

Posted on 2016-08-29
5
127 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 26

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 26

Accepted Solution

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Autoplay video in mobile device 3 142
facebook live broadcasting 1 64
Cordova Camera plugin fails 2 120
Remote control Windows CE 7 52
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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.

831 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