RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

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