Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine correct fonts and sizing
Message
De
24/08/1998 14:15:51
 
 
À
24/08/1998 13:25:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00128948
Message ID:
00129415
Vues:
40
No, I didn't want you to change the settings. Sorry for the misunderstanding. I thought that the user's machine that looked different may have had one of those settings changed from a standard setting, that's all.


>>Fred -
>
>You're right, but whereas I might be able to do that, all our users have default settings and I don't think they'd want to change them to accomodate me and I wouldn't want to make them do that. I've decided to bite the bullet and size everything for this common denominator (which is what I would have done in the first place if I hadn't goofed up.)
>
>Sylvia
>
>Sylvia,
>>
>> There's more to font sizing than just "small fonts" vs. "large fonts". Your font setting may be small fonts, but each setting "Item" is INDIVIDUALLY controlled within a "scheme". Look at your Display Properties, Appearance tab. You might want to try changing the scheme to a different one and see if that makes a difference, or try playing around with the "items".
>>
>>Fred
>>
>>
>>>Rick -
>>>
>>>Yes, you're right on both counts. I do use a base form class, and had set it to 640x480, then on seeing this problem, realized exactly what you said - that using the entire area meant I didn't take into account the form might be running within a menu and have other things on the screen. So what you're suggesting about maxheight and width is good advice for the form itself. As you say, I'd prefer not to mess with fonts! Nonetheless, I still don't understand why fonts which look to be the correct size on my large monitor seem to be twice as big on another (I thought Arial 10pt was Arial 10pt no matter what).
>>>
>>>Sylvia
>>>
>>>>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
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform