Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

TCustomListBox and Header

Posted on 1998-10-14
3
Medium Priority
?
154 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 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

636 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