Solved

Programatic Listview Column Click

Posted on 2007-11-21
1
543 Views
Last Modified: 2010-04-04
Hi,
Can anybody help me with programatically clicking on a Listview column heeader. I have a Listview with three columns - and I want to trigger a sort routine programatically on one of the columns

Thanks
Romans
0
Comment
Question by:Romans
1 Comment
 
LVL 14

Accepted Solution

by:
SteveBay earned 125 total points
ID: 20331700
Just call ListView1ColumnClick and pass the appropriate Column
procedure TForm1.Button1Click(Sender: TObject);

begin

	ListView1ColumnClick(Sender, ListView1.Columns[0]);

end;

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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 give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now