Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide a column programmatically?
Message
 
 
To
18/12/2002 16:24:54
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00734249
Message ID:
00734267
Views:
15
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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform