Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stubborn Caption Placement !
Message
De
18/12/2015 13:50:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01629113
Message ID:
01629116
Vues:
69
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Gang!
>
>Quickie Question.....
>
>I have two fields on the form
>
>field1 field2
>
>in line with each other.
>
>I will change the caption of field1 and field2 as needed.
>
>I want field2 to slide over to the right so as not to overlap with field1 when field1 changes its caption.
>
>I tried this....
>
>Thisform.field2.Left = Thisform.field1.Left + Thisform.field1.Width + 20
>
>But the width of field1 stays the same as what was in the designer.... it did not change!
>
>Any idea what I am doing wrong? Sometimes I feel so dumb..... sigh....
>
>Thanks
>Tommy

Make sure AutoSize is set to .T.. You may also need to turn off anchoring temporarily if the controls are anchored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform