Solved

ShellListView sort order

Posted on 2004-10-13
4
678 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 500 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 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