Solved

ShellListView sort order

Posted on 2004-10-13
4
652 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
calling procedure inside activexForm from secondform 1 232
Delphi selector screen 2 70
Delphi 2 50
How to remove Recent Projects from Embarcadero C++ builder XE10. Berlin 2 32
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now