>You can also create your own grid class that has the header code in place.
>I created a grid with 25 columns (highly unlikely I'll ever exceed that)
>and the header click method has what is needed to sort the column already
>in place when I drop it on a form.
>
>Steve
Just like I thought: you have to dimension it to some number in the
class definition, because you can't have any default header class. If
you could, you could define a grid class with just one column and at
runtime just say thisform.grid1.columncount=7 and have all the headers
behave as you defined in the class def.
OK, it's just my old song...