Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add/Remove colums from grids
Message
De
22/09/2000 09:36:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
How to Add/Remove colums from grids
Divers
Thread ID:
00419681
Message ID:
00419681
Vues:
46
I have a grid from which I need to add or remove columns on a regular basis at runtime.

I have experimented with the width and visible properties for the columns but I am unhappy with the results.

RemoveObject works well but then I have the problem of putting the column back when I need it.

If use addobject then it appears I have to specify all the properties and methods for the column in code before I add it back.

Is there a way I can store the properties and methods of an existing column to a class, then remove the column....and later add it back from that class?

Or is there a much better way of doing this job that I have missed, as is still often the case:(

I expect someone will point out that there is a HideColumn property somewhere that I have missed :(

Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform