Thanks to All (Nancy,Macer,Tom, Jose). Due that i should be able to restore the columns later, I can't use removeobject.
Tom: I stoled your code. The only change I made was set the columnOrder to ColumnCount, so the column is now at the end of the grid.Thanks
>Since you only have property access use the width and enabled to 'remove' the column and get rid of the tab stop. The columnorder setting will move the small space to the beginning or end of the grid.
>
> thisform.grid1.column2.width = 0
> thisform.grid1.column2.enabled=.f.
> thisform.grid1.column2.ColumnOrder=1
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only