?
Solved

TCustomListBox and Header

Posted on 1998-10-14
3
Medium Priority
?
155 Views
Last Modified: 2010-05-18
Hi All
   This is a rhetorical question, as I have already created the component. However, I am having some trouble cleaning it up and need help. Points will be only be awarded following a lively exchange of ideas.
0
Comment
Question by:Edo082297
  • 2
3 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1342912
At the risk of sounding trite, I would simply use the standard TListView shipped with Delphi. You can provide custom drawing for the cell you want to place the icon into for details views. Everything else that you mention you want to do appears to be covered by this component.

Was there a reason why you decided not to use TListView?
0
 
LVL 1

Author Comment

by:Edo082297
ID: 1342913
Hello RWilson
   I am extremely embarassed. The functionality in TListView is precisely what I have been trying to program. I was under the impression that TListView only provided large-icon type views, but I am evidently wrong. I thought I knew the VCL pretty well, and I had never given that component a second glance.
  Thanks for opening my eyes. The good news is the transition should not be too painful, as only a small part of the code was working around the limitations of my original method.

Regards,
Edo

PS You aren't trite, you're absolutely right. Don't laugh too hard at me when you post an answer.
0
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 400 total points
ID: 1342914
Here it is: Use a TListview (I'm not laughing - I've done similar things ...)

Cheers,

Raymond.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

829 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