Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6327851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:21:12+00:00 2026-05-24T17:21:12+00:00

I have a file downloader, so there is a list view with such columns:

  • 0

I have a file downloader, so there is a list view with such columns: a file name, a speed, a file size, a downloaded size, left/elapsed time, percent done (a progress bar) -> I need to draw icons, a text, a background, a progress bar etc. What is an efficient method to store all data to draw it in a list view?

For example I draw a text “error”, then a background must be red. I can check an error and draw with something like this if SameText(Item.SubItems[5], 'error') then, but I don’t know if it’s fast to draw all items with this method, to store all data in a list view?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:21:13+00:00Added an answer on May 24, 2026 at 5:21 pm

    ListView is a visual representation of linear list of data items. ListView itself should not be used as a data container.

    Your right approach is to have a separate TList with records or objects, each corresponding to one downloaded item. When you add an “item” to ListView, you can specify associated user data. The user data in your case is a reference to the record or an object.

    When you need to draw a listview item, you take the data from the associated record or object.

    Actually, if you have a list of downloaded items, then you already have everything you need to do, and the missing part in the puzzle is that listview item can hold a reference to user data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded an excel file where specific french characters such as é appear
I have a page in JSP that list some file that could be downloaded
I have a UITableView with cells. The table view shows a list of downloaded
I have this code to download a file, but on sourceforge.net sever there is
I started creating file downloader class. Here is what i have: public class Downloader
I have a java file Test.java (below) which uses Guava's HashMultiMap (downloaded from http://code.google.com/p/guava-libraries/
I have downloaded the GeoLiteCountry CSV file from Maxmind - http://www.maxmind.com/app/geolitecountry . Using the
I have downloaded the web page into an html file. I am wondering what's
I have downloaded several new plugins which come with a help file. None of
I have this xml file. The list contains 2 items. When I test the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.