1. Computing

Add Custom Sorting To Delphi's TShellListView Control

By March 12, 2012

Follow me on:

in TShellListView :: By design, the TShellListView sorts files (and folders) ascending by their name. There's no "OnCompare" event you can handle to change the sort order or the column (name, type, date modified, size) used for sorting.

What we are up to in this article, is adding a popup menu to the TShellListView control that would allow users of your Delphi application to sort files displayed by the shell list view: ascending or descending, by name, size, date modified or type.

Read the full article to learn how to Add Custom Sorting To TShellListView Control


Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.