Solved

Show Listview image from database (String field)

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 46
Find and Replace Stream with 0s 8 57
My iPhone 5S (IOS 10.1) imo not working 8 295
Not able to call Delphi XE10 dll function from Delphi 6.0 4 20
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
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.

863 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

26 Experts available now in Live!

Get 1:1 Help Now