Do not know what kind of framework/classes you are using; probably you may follow this:
Grid.Column1.AddObject(object_name,"Header")
and then set its properties as needed.
>After hacking an SCX to remove framework references for a particular form and the form objects (now its all vanilla baseclasses), i now have a grid where some of the headers for some of the columns are missing. Viewed in the property sheet, form objects look something like the following.
>
>GrdTime
> Column1
> CboEmployee
> CboProject
> Column2
> CboCostCode
> Column3
> Text1
> Column4
> Text1
> Column5
> Text1
> Column6
> Header1
> Text1
> Column7
> Header1
> Text1
>
>
>I suspect that when the grid was first built, i may have removed the baseclass "Text1" textboxes from some columns when framework-specific textboxes were added. But i dont recall deleting column headers.
>
>Regardless, all works well. I have method code that sets the grid properties and it does reference headers for columns that dont appear to have headers (when viewed in the prop sheet).
>
>I'd like to add back those headers that appear to be missing. Any recommends?