Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Persist Grid column widths
Message
De
09/12/2005 13:06:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
09/12/2005 09:55:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01076375
Message ID:
01076678
Vues:
29
>Thanks for sharing that Dragan. We already have an app ini file that I may incorporate those values into. When the form loads, the grid columns are set to a default width which allows all columns to be visible (but not all data in all columns). I would like the user to be able to expand a column if desired and have it remain so when they exit the app and go back in later. Some users have asked for that ability. However, what do you do to allow the user to return to the default column widths? In other words, if I widen column one and exit and go back into the app the form displays and adjusts the column widths to my last saved value. But let's say I want to return to the default column width values? Do you use a button?

I don't. IOW, there's no way (short of editing the ini file) to restore original widths, simply because I never had such a request.

I figure a header.dblclick would be a good event to use for this, or header.rightclick - where you could offer to restore the width for the column, all columns, etc, in a context menu.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform