Hi Elyse;
I believe that is completely unnecessary create the hdr1 object
I am not shure, but are we talk about a Grid object ? If so, just set mygrid.columns = NN and then all the object will be created automaticly and you can do it to change some of the original configuration..
>FOR EACH loColumn IN This.Columns
> WITH loColumn
> lcCaption=loColumn.Header1.Caption
> lnAlign=loColumn.Header1.Alignment
> .AddObject("Hdr1",This.cHeaderClass,lcCaption,lnAlign)
> .Hdr1.Name="Header1"
> ENDWITH
>ENDFOR
>
CLAUDIO
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20