?
Solved

ShellListView sort order

Posted on 2004-10-13
4
Medium Priority
?
701 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

770 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