Solved

Programatic Listview Column Click

Posted on 2007-11-21
1
542 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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

12 Experts available now in Live!

Get 1:1 Help Now