Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange label positions in coded containers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Strange label positions in coded containers
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01256309
Message ID:
01256309
Vues:
67
I have a complex form with about 8 large containers, each having about 15 containers within it, they contain containers and labels, etc. The entire form is created in code from a table, is sizable with the mouse and has a lot of drag and drop. The form is used for visually tracking work flow within a shop.

Problem:
Everything works great except for the labels. I added a label inside one of the large containers to show a clock. The blasted label won't position where I tell it to. I had to add code to the clock timer event to reset the .left and .width, to the upper right of the container. Otherwise it just places itself at the top left of the container. I also noticed that when resizing the form with the mouse the blasted clock reverts back to the top left and many of the other labels within containers seem to revert to their default sizes until they are updated. (the labels show work order numbers and are refreshed from a timer.) Anchor is set to 240 for everything and the labels autosize = .f.

Ideas?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform