Solved

Show Listview image from database (String field)

Posted on 2016-08-29
5
230 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
[X]
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
  • 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 27

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 27

Accepted Solution

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

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

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

By this time the large percentage of day-to-day transactions have shifted to mobile banking; here are some overriding areas QAs must investigate while testing mobile banking apps.  
Today’s effective marketing is about coming down to the customers’ level and engaging in a whole new way. A text message is one of the most effective and influential ways that you can engage your customers. Here are eight ways that you can utilize t…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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