Rex,
Could you please give me some clarification, how to do this, because I've never did it before? I just put this code directly on the grid.header Right Click event on each column on my form.
So, I'm really interested in more general approach.
>>two options you have are
>>create a grid with more columns that you need (i.e. max number of columns you use) and remove column in run-time
>>the second is to create the class definition for the column, header etc. in code (in a PRG) and add them in run-time
>>
>>Arnon
>
>Third option is to create a builder and run it against the grid
>
>HTH
>
>Rex
If it's not broken, fix it until it is.
My Blog