Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizer
Message
From
04/01/2002 13:35:22
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00600789
Message ID:
00600886
Views:
26
>Hi everybody,
>
>I'm working with 19'' monitor and my forms look good. However, somebody uses 21'' monitor, where they don't look that good. So, I'm thinking about ability to automatically adjust all objects to another resolution. The first question: what to choose as a good resizer? Our own framework has some leftover, but I called my colleague and she told me, what this class is not working properly and we don't use it. (I haven't checked its code yet).
>
>The other thing: is it possible to add one class to the main apllication, and all the forms in any applications would be automatically resized without changing BaseForm class?
>
>Thanks in advance.

Nadya,

To add a bit to the others ....

since all my forms are designed for 640 * 480

I never resize controls with 3 exceptions, controlled from the Form.Resize()

the Left and Top are never changed

(1) Pageframes grow and shrink to the size of their parents. Height and width are adjusted.

(2) Containers are resized to the size of their parents, if their property SizeWithParent indicates it. Default = no

(3) Grids
Have a property SizeWithParent (inspired on the ScrollBars)
0 = do not size
1 = Horizontal (change width)
2 = Vertical (change height)
3 = Both (default) (change width and height)

An advantage of this is that the user can change the width/height of the form and the PageFrames/Grids/Containers nicely resize.

The code is very simple and recursive
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform