Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Show Listview image from database (String field)

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Read about why website design really matters in today's demanding market.
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.

840 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