Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide column in a Grid???
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00749248
Message ID:
00749250
Views:
18
>I am trying to hide a column in grid.
>I have tryed by making Grid1.column1.Visible = .f.
>But, it only removes the caption of Header,
>does not remove the column from grid.

The only way to do this in VFP7 and below is to move the column to the far right of the grid and reduce the column count by one, so that it's eliminated.

>By other way, If I add column in grid, at run time.
>How can I associate my Code on the valid of some control under that column.

You need to have the code in a subclass, which you can add to the column programatically.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform