Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizer
Message
 
 
À
04/01/2002 13:35:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00600789
Message ID:
00600947
Vues:
15
>>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

Yes, this is what I basically have in mind. I design my forms for 800*600 and today I was working with a user with a bigger monitor.

So, do you have only one Resizer class or all your other base controls have some specific properties / methods to allow adjust?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform