Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid RowHeight default
Message
 
 
To
08/12/2008 14:14:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01365788
Message ID:
01366054
Views:
8
>>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

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform