>Hi. I have code in a method that reads someething like:
>ThisForm.pgItems.conItems.grdQuoteList.Column9.visible = .t.
>
>When I run the code, I get the message that Column9 is not found.
Depends on where, or rather when, is this code running. If it's somewhere before the grid instantiates, like form.load - could well be that the column doesn't exist YET. In that case, move the line to grid's .init(), that's late enough (all columns should have instantiated already). The code would need to be
this.column9.visible=.t.
because at that point the parent objects aren't instantiated yet - there's no container, page, pageframe.
Or, if you aren't sure what the name of the column name is, you could do this in grid.init:
this.columns[9].visible=.t.
or, if you want to make all columns visible,
this.setall("visible",.t., "column")