Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid RowHeight default
Message
De
08/12/2008 14:14:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01365788
Message ID:
01366052
Vues:
10
>I want to save in a resource file the value of grid row height, if user changes it, so that next time the grid is instantiated the height will be preserved. To determine that user did change the grid height I will compare the current height with the default value. In my VFP the default value of any grid RowHeight value is 18. I want to be sure that this value is not a function of some fonts on the end user PC. Therefore, can I safely assume that no matter where my app is running the default value of the RowHeight property will be 18?

No you can't rely on it being 18 all the time (what I remember is 19). Instead set to -1 to get the default.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform