Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any formula for resize font when resizing form?
Message
From
08/12/2009 11:19:14
 
 
To
08/12/2009 11:09:12
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01438061
Message ID:
01438070
Views:
132
>>>Hi All,
>>>
>>>I want to resize my fontsize when resizing my form. I need that for my POS application when using screens other than 800x600. Is there any formula for calculate whick fontsize I should use like that:
>>>
>>>if when 800x600 ..... my font size 10
>>>
>>>when 900x700 .... my font size should be 11
>>>
>>>...
>>>
>>>...
>>
>> SYSMETRIC(1) and SYSMETRIC(2)
>
>I couldn't express myself. I want to know which fontsize I have to select when I resize my form. Sample:
>
>my form's size is 300x400 my font is 9
>
>I resized my form to 400x500 and my font should be ???
>
>I resized my form to 500x700 and my font should be ???
>
>is there any formula for that or I have to test by looking with my eyes form ranges.

Marcia has code that does that (and more):

Forms and screen resolution Thread #1396126 Message #1396126
Re: Adjusting to user's screen resolution.. Thread #1162801 Message #1162849
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform