>> Very interesting approach. Just tell me, how can you modify your Grid builder for doing this? Or how can you do it programmatically in your grid class?
>
>All my grids are built at runtime from a table that holds the order, wna d width of the column, as well as its control source, link to its captionin the catption table, and also an index tag that I should use to order the table when the header is clicked. (This makes it easer to store and restore grid states), so I don't need to do any grid builder things because its all done a t runtime.
Do you mean you create your grids in form's Init method (or some method called from Init, like MakeGrid) and use thisform.NewObject(thisform.GridName,thisform.GridClass) (forgot the correct syntax).
Could you provide a code, please? Again, just from my curiosity :)
If it's not broken, fix it until it is.
My Blog