Solved

Programatic Listview Column Click

Posted on 2007-11-21
1
546 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

Technology Partners: 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

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…
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…
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…

679 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