Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid columns with Width=0 show vertical line
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00638769
Message ID:
00638816
Vues:
14
Bruce,

Why not just RemoveObject() the columns you don't want to show?

You can set the Column.Resizeable = .f. to prevent it being resized. Set Moveable = .f. to prevent it from being moved and prevent the mouse arrow from changing to a down pointing arrow. But you will have a 1 pixel wide representation of that column that you won't be able to get rid of. You might move the 0 width columns to the right or left sides of the grid.

>I'm setting up a grid that selectively shows/hides certain columns at runtime.
>
>When I set a column's .Width property to zero, there's still a vertical rule in the header that the user can drag to resize the column back to a viewable width. Is there a known workaround, or better approach?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform