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 6138507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:52:37+00:00 2026-05-23T17:52:37+00:00

Sorry, background’s a little convoluted on this one… I am in the process of

  • 0

Sorry, background’s a little convoluted on this one… I am in the process of converting a D5 project to DXE… It has a listbox with several thousand items. A full progressive text search is done on these items with each keystroke in the searchbox. In D5 (pre-virtual lists), I had to make my own virtual listbox using the LMD listbox (as there were several columns with headers in the listbox), a separate scrollbar and an Array of records. The Listbox would then be populated as the user navigated through the search results or by modifying the search. This performed very well but since now virtual listboxes are native to Delphi I was going to convert my custom listbox to the native one but I cannot find a listbox component with headers that is virtual-capable. Help?

Is there a component available that has virtual lists and headers/columns?

I forgot to mention: I am aware of Soft Gems VirtualTreeView components – these are excellent and is probably what I’ll be using but… Is there a way in DXE to accomplish this without 3rd party utilities? I’m concerned that I’m missing something obvious in DXE as I’ve only been using it for about a month.

  • 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-23T17:52:38+00:00Added an answer on May 23, 2026 at 5:52 pm

    TListView is a thin wrapper around the Windows list view common control. Run it in virtual mode with report view style to achieve what I believe you are asking for.


    In order to set up a virtual list view you need to set OwnerData to True and supply an OnData event handler.

    procedure TVirtualListViewForm.FormCreate(Sender: TObject);
    begin
      ListView1.ViewStyle := vsReport;
      ListView1.Columns.Add.Caption := 'Column1';
      ListView1.Columns.Add.Caption := 'Column2';
      ListView1.OwnerData := True;
      ListView1.OnData := ListViewData;
      ListView1.Items.Count := 42;
    end;
    
    procedure TVirtualListViewForm.ListViewData(Sender: TObject; Item: TListItem);
    begin
      Item.Caption := Format('Column 0, index %d', [Item.Index]);
      Item.SubItems.Add(Format('Column 1, index %d', [Item.Index]));
    end;
    

    For your needs an OnDataFind may be needed to implement the progressive text search.

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

Sidebar

Related Questions

sorry this is probably a dumb question, but I want to make the background
Sorry if this question has been asked 100 times before, unfortunately, i haven't found
I am new to Java coming from a PHP background so sorry if this
Sorry if this is a silly question :-) Background I have legacy code that
Sorry for my bad English. I have one TextView and it have a Background
Sorry if this has been asked before, but I couldn't find a solution to
EDIT: Sorry Guys, This has been resolved The comment to check the inline style
sorry if this has already been posted but I've been through umpteen posts on
Just some background, sorry so long winded. I'm using the System.Data.SQLite ADO.net adapter to
The input is a spectrum with colorful (sorry) vertical lines on a black background.

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.