Class to sort MSFlexGrid

Category:
Forms and Controls
Type:
Classes
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: Visual Basic 6

More information:
Here is an object-0oiented class to sort MSFlexGrid. At design, time select which columns can be sorted, the default sort order, and optionally a second sort order. User double clicks on fixed column headers and the column is sorted. Double click again and the column is sorted by the second sort order. Native sort doesn't handle dates, but this does using a hidden column.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: