Re: Delphi ShellListview sort

[ DelphiLand FAQ ]

Posted by creeek on November 26, 2004 at 10:47:40:

In Reply to: Delphi ShellListview sort posted by webmaster Guido on November 25, 2004 at 17:47:52:

FAIL! :(

I tried unsuccessfully..... as follows:

I created a project and added the code you mention and the line "ShellListView1.FolderList.Sort(ShellCompare);" always faILS for obvious reasons (it isnt 'seeing' the new code)

1. tried: unticked 'Shell Control Property and Component Editors

prompted for: 'Remove Runtime Packages'
'vclshlctrls', clicked yes

2. tried ticking 'build with runtime packages' didnt seem to make any difference.

3. removed the package completely, via 'component', install package, then 'removed
rebuilt all, project, then when back in and restored. Same result. BUT, this did have a big effect when I quit Delphi and returned, it complained that the ShellListView dosnt exist, do I want to remove them from the project! I cancelled and then added the package, but still didnt work.

4. I checked the '\bin\dclshlctls70.bpl and the date was the same. Totally unsure how this gets rebuilt?!

It all appears complex, but probably missing something quite obvious (but not to me!)

sorry to be a pain and THICK! I am sure you have better things to do.

shame, because the program (htp:// is very useful. Explorer with LOTS of favourite places and control for an adminstrator at a school!

Related Articles and Replies

[ Delphi Forum -- by DelphiLand ]