Solved

TCustomListBox and Header

Posted on 1998-10-14
3
147 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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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