Listview control sort option 
Author Message
 Listview control sort option

In VB 6 it seems that the sort option to sort on a
specific column (or in vb.net sub item) was invoked by
setting the sortkey property to the index of the column
on which to base the sort.

It is not clear how to do the same thing in vb.net.  What
properties or methods are available to cause a sort to
occur using a particular sub item (or column) as the key
to sort on?

Any help here would be appreciated.

Pete



Sun, 05 Sep 2004 22:14:03 GMT  
 Listview control sort option

Wed, 20 Mar 2002 06:14:03 -0800 bearing the following fruit:

Quote:
>In VB 6 it seems that the sort option to sort on a
>specific column (or in vb.net sub item) was invoked by
>setting the sortkey property to the index of the column
>on which to base the sort.

>It is not clear how to do the same thing in vb.net.  What
>properties or methods are available to cause a sort to
>occur using a particular sub item (or column) as the key
>to sort on?

>Any help here would be appreciated.

>Pete

try one of the 'dotnet' groups

J



Mon, 06 Sep 2004 00:17:48 GMT  
 Listview control sort option
Pete,

Check out KB article Q319399 - HOW TO: Sort a ListView Control by a Column
in Visual Basic .NET.

To find a KB article you can type "MSKB articlenum" into Internet
Explorer's Address Bar (without the quotes) or you can go to
http://support.microsoft.com.

Kevin Williamson - Microsoft Visual Basic Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
reserved.

--------------------
| Content-Class: urn:content-classes:message


| Subject: Listview control sort option
| Date: Wed, 20 Mar 2002 06:14:03 -0800
| Lines: 13

| MIME-Version: 1.0
| Content-Type: text/plain;
|       charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcHQGX0Fn9Zei4A7QxuR5jiHAzHxEw==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
| Newsgroups: microsoft.public.vb.controls
| Path: cpmsftngxa07
| Xref: cpmsftngxa07 microsoft.public.vb.controls:127850
| NNTP-Posting-Host: TKMSFTNGXA07 10.201.232.166
| X-Tomcat-NG: microsoft.public.vb.controls
|
| In VB 6 it seems that the sort option to sort on a
| specific column (or in vb.net sub item) was invoked by
| setting the sortkey property to the index of the column
| on which to base the sort.
|
| It is not clear how to do the same thing in vb.net.  What
| properties or methods are available to cause a sort to
| occur using a particular sub item (or column) as the key
| to sort on?
|
| Any help here would be appreciated.
|
| Pete
|



Mon, 06 Sep 2004 00:39:42 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. V6: ListView Control Property Options

2. V6: ListView Control Property Options

3. Get items from Listview sorted with API:s in sorted order

4. SORRY, Sorting listview controls :(

5. Sorting a listview control in details view

6. Sorting ListView control on other columns

7. How Can I perform sorting with ListView control?

8. Sorting in Listview control

9. Q: How to sort by date in ListView Control

10. Sorting numeric data in a ListView control?

11. Sorting a column in a listview control

12. Secondary sorting with listview control

 

 
Powered by phpBB® Forum Software