Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ideas how to do these UI features?
Message
De
05/09/2005 00:26:09
 
 
À
04/09/2005 11:41:34
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01046660
Message ID:
01046710
Vues:
21
Hi Mike

>Secondly. I'm trying to use the anchor property to make the controls on a form "flow" when the form is resized. I'd like to make it work like HTML in a browser where all controls adjust their size and/or position according to the available space. A control's anchor property only seems to attach to the parent container and not to other controls.
>
>Does anyone know how these effects could be done within a VFP app?
>


Not sure if you want the controls to actually move about or resize, but in tests I have no problem with anchoring objects within a container.

Test1:

I created a new form, added a container and into the container I added a textbox. I made the anchor property of both = 15

The object resizes when the form resizes.

Test2:
I created a class with a container and inserted a textbox. I set the Anchor of both the container and the textbox = 15. I had to set the Container manually and could set the textbox using the builder.

I then dropped it on a form. Everything worked as it should.

Maybe I don't fully understand what you mean?

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform