Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine correct fonts and sizing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00128948
Message ID:
00129279
Vues:
35
Sylvia,

If I understand you correctly...
I believe your problem is because the form designer is giving you 640x480... :-)
but that's not what you've really got, because of menu and status bars on the top and bottom (or sides in some user preferences)...
I'd recommend that you design using a base form class. (You may already be doing this) Then it's a simple matter of going into the base form class and telling it that the MaxHeight is some appropriate value less than 480 and the MaxWidth is some appropriate value less than 640.

If you can stay away from tweaking of fonts....that can be a horrendous mess...IMHO

Rick
-----------------
>>John -
>
>That's what I thought at first too, but I checked for that on the user's computers and they were set to small fonts (as was I), so I thought the fonts would stay the same, even when I went to a different resolution.
>
>Sylvia
>
>Hi Sylvia ---
>>
>>Sounds to me like a difference between selecting "Large Fonts" and "Small Fonts" in the Windows font settings. In which case I think you might be in trouble ... unless you code some dynamic resizing using FONTMETRIC...but that may not be possible.
>>
>>
>>>Background: I do my development on a 19" monitor, which I have set to a small resolution so I can get more on the screen. I knew I should set my maiximum form size to 640x480 which I did. However, when I run the forms/classes I create on my large monitor on a 15" monitor with 640x480 resolution, the most of the form fits on the screen, but the fonts and other controls are unnecessarily large and some of the controls fall off the bottom of the screen. (When I was testing I thought my smaller monitor was in 640x480 mode, but learned it wasn't after some users had different results!)
>>>
>>>My question: How when creating a form or class on the 'big screen' can I determine what size will work best in practicality on the 15" monitors using 640x480 resolution? Or, to put it another way, I like the actual size of the fonts and controls on my big screen. Is there a way of keeping them the same scale, when displayed on a monitor with different resolution, or does that go with the territory?
>>>
>>>TIA for any advice or suggestions on this.
>>>
>>>Sylvia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform