Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proportional resizing of forms
Message
De
21/02/2023 13:23:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
21/02/2023 13:03:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01686228
Message ID:
01686242
Vues:
60
>>Hm...
>>
>>It's a colision between anchors and ratio.
>>You need tow modes: Resize and Ratio
>>
>>Default is Resize mode and use Anchors.
>>
>
>I think I'm not explaining clearly. Anchors are giving me what I need for the controls when the form resizes, but I want to limit the set of sizes the form can take to only those that are proportional to the original form size. Basically what you get when you put an image in Word and check Lock Aspect Ratio. When you do that, you can resize the image, but whatever you do, it keeps its proportions. That's what I want to do with forms, if it's possible.
>
>Tamar

But M$ Word will use a non visible (transparent) object you resize while the size / pos of the image inside will be calculated. You would need a kind of a shape or frame you can resize out of the form. Possibly something with Mouse* events, like one does with splitters. I have no idea if one can do this inside the form or if one need something on _SCREEN.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform