Browse DevX
Sign up for e-mail newsletters from DevX

Code Download

A class that makes it easier to work with the ListView

Date: Mar 10, 2003
Author: Ron Mittelman
Description: This class is designed to make working with the ListView control much easier, primarily when using it in Report view. There are various properties and methods which make for easy adding of items and automatically sorting items properly when clicking column headers, including numbers and dates. This is accomplished by having a hidden column in the ListView, which contains a properly formatted number or date. By setting various properties, this is all transparent to the user/programmer. There are various methods to sort and cause alternate line shading, as well as automatically setting column widths based on contents/header text. The class is fully documented and comes with a test form.

Click here to download the file.

Thanks for your registration, follow us on our social networks to keep up-to-date