Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Resolution conflict
Message
De
04/01/2005 08:24:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/01/2005 02:14:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00973613
Message ID:
00974050
Vues:
21
>Dear Sir,
>
>I refer to your following paragraph
>
>"You have to create both the .WidthRatio and the .HeightRatio properties. Open the form, and give the command "Form | New Property". Or select "Form | Edit Property/Method", to see what properties and methods are already defined"
>
>So, I have defeined both properties WidthRatio and HeightRatio to form. But unfortunately it does not still
>work.
>
>I want when I resize form, in horizontal position, with mouse the objects of form must change there width.
>
>Now what is problem? please review the form and give me some more advices
>
>Thanks in advance

Code in the Init() Event will be evaluated only once, when the form starts. This is appropriate if you want to adjust the form once at startup.

If you want to adjust to a resize by the user, you need to place code in the Resize() Event. As Marcia says, her code was not designed to do that; if you try to place all the code into the Resize() Event, it seems that the fonts get bigger and bigger, and eventually give you an error message. It seems that additional adjustments need to be done for this case, but there are several solutions in the download section which already work (I think so, I didn't try them).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform