Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ShellListView sort order

Posted on 2004-10-13
4
Medium Priority
?
746 Views
Last Modified: 2008-01-09
How can I change the display order of items in aTshellListView when in the vsReport style.


Thanks in anticipation
Alan
0
Comment
Question by:alanjbrown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12301556
Jim Kunemann posted a workaround on the Borland newsgroups. I could not find it using Google but if
you search http://www.tamaracka.com you can find the post.

Search for this term "TShellListView and sorting and ^Delphi" (without the quotes)
and look for the thread started by Michael Murray on Feb 6th. Apparently it wasn't
archived by Google.

Anyway. you are going to have to rebuild the vclshlctrls and dclshlctrls packages. You must uninstall them first
and delete the vclshlctrls.dcp in the Lib directory before doing it. Set the DCP Output dorectory for vclshlctrls.bpl
to the Lib directory and recompile. Then recompile and install dclshlctrls.

I have not been able to get it to work for me in D6Pro but maybe it will in your version.
0
 
LVL 1

Author Comment

by:alanjbrown
ID: 12301632
Some one just suggested using CustomSort as a simple way of doing it, but he could not give me any further info.
0
 
LVL 26

Accepted Solution

by:
EddieShipman earned 2000 total points
ID: 12302304
CustomSort won't work with TShellListview, besides, you have to crack it to
access it because CustomSort is not a method in TShellListView.

Here is the link directly to the article I mentioned above:
http://216.101.185.148/scripts/isapi.dll/execute?SearchFor=TShellListView%20sort%20Kueneman%20ShellCompare%20^Delphi
0
 
LVL 1

Author Comment

by:alanjbrown
ID: 12306305
Eddie

Thank you for the answer, it works very well

Alan
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

597 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