Solved

TCustomListBox and Header

Posted on 1998-10-14
3
148 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
[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
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 100 total points
ID: 1342914
Here it is: Use a TListview (I'm not laughing - I've done similar things ...)

Cheers,

Raymond.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dynamically Created Query 3 70
Twebbrowser add css to the header 3 39
MS Access from Delphi 31 81
Delphi Seattle StructureView color 1 21
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

733 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