Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Resize() method
Message
 
 
À
25/04/2015 06:25:25
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619083
Message ID:
01619133
Vues:
38
>>I am trying to understand the purpose of this method (Resize).
>>Does VFP automatically call this method when ANY object on the form is resized? Or only when the Form itself is resized?
>>
>>And if you resize the form (in a method of any object, e.g. a splitter), does it matter if you change positions of other object of the form in the form Resize() method or there is not difference if the change is done in the method where "positions" have been changed?
>
>
>For your last question. It does not make a different in the result but in the way to it.
>
>What you positivly need to avoid is:
>
>calling forms or objects (containers) resize over and over
>
>So have on central place that does the job, best is a method called from forms resize (event calls method ...) because this will fire under all circumstances.
>
>Make shure to only resize one time. This is do not change forms width and height properties seperatly. USE OBJECT.MOVE(..) This will result in a single call to resize. (and to MOVED for that)
>
>So basically I would see that each container (form, container pageframe) handles it's own contained objects
>
>For your idea changing the form width rather then ist ratio I would changes form's width and let the form decide where to place the objects. This will fire the same code if you just resize the form.

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform