Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proportional resizing of forms
Message
From
21/02/2023 13:23:35
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
21/02/2023 13:03:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01686228
Message ID:
01686242
Views:
59
>>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform