Re: Need help with Listview sort
From: Rick Dunmire (dunnie_at_pa.net)
Date: 05/31/04
- Previous message: Tom Vought: "Re: ComboBox Auto Scroll on text entry"
- In reply to: Randy Birch: "Re: Need help with Listview sort"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 May 2004 21:31:04 -0400
So I take it that there is no way to substitute the built in function (at
least no easy way)?
"Randy Birch" <rgb_removethis@mvps.org> wrote in message
news:echLWGYREHA.2412@TK2MSFTNGP10.phx.gbl...
> Except understand that the listview will only sort on one column at a
time,
> not on multiple columns.
>
> --
>
> Randy Birch
> MVP Visual Basic
> http://vbnet.mvps.org/
> Please respond only to the newsgroups so all can benefit.
>
>
> "Maurizio Benvenuti @libero.it>" <zeross<remove> wrote in message
> news:uImdPCYREHA.1160@TK2MSFTNGP09.phx.gbl...
> :
> : "Rick Dunmire >" <<dunnie@STOP SPAM.pa.net> ha scritto nel messaggio
> : news:uvbhgrWREHA.3988@tk2msftngp13.phx.gbl...
> : > Hello all,
> : >
> : > I have a question about Listview columnheader sorting.
> : > It seems that the listview uses a built in function for sorting on a
> : > particular
> : > column when it is clicked (provided that the proper statements are
used)
> : but
> : > can the
> : > columnheader click be trapped to substitute a function outside of the
> : > listview. The
> : > reason is that when I click on a columnheader, I need to do a sort
like
> : lets
> : > say the
> : > header is "Date", I need to sort on the "Date" header then probably on
> : > "InspNumber"
> : > header and lastly on the "StickerNumber" header. I may have 40
> inspections
> : > on the
> : > same day using 2 different sets of inspection stickers so I need to
sort
> : all
> : > inspections
> : > by the Date first, then by the IinspNumber, then StickerNumber. I need
> to
> : > use a simailar
> : > function for several other columnheaders if possible. Can this be
> achived
> : in
> : > any way?
> :
> :
> : You should start from here:
> : http://vbnet.mvps.org/code/callback/lvsortcallback.htm ;-)
> :
> : Byee
> :
> :
>
- Previous message: Tom Vought: "Re: ComboBox Auto Scroll on text entry"
- In reply to: Randy Birch: "Re: Need help with Listview sort"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|