Setting the Visible property to .F. and also setting the Width property to 0 seems to take the column out of action for me. There is a thick line where the column should be.
In VFP 8, the Column.Visible property actually works. You can hide an entire column if you want.
Regards.
>I have a grid that has several columns. Based on a value in another table, I need to programmatically make a column visible or invisible.
>
>I have tried with the column:
>
>- .visible = .T. or .F.
>- .width = 0
>- .enabled = .T. or .F.
>
>My results have the column still showing without Header Caption and the textbox in the column does not appear. The column remains... I thought this was a simple process.
>
>It's strange that the column will not size either.
>
>How can I make it dissappear?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao