Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stubborn Caption Placement ! part 2
Message
De
19/12/2015 07:53:23
 
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:
01629121
Message ID:
01629129
Vues:
46
This message has been marked as a message which has helped to the initial question of the thread.
>Questiion....
>
>This is related to my previous question...."Stubborn Caption Placement !"
>
>I created an empty FORM and placed this in the INIT, and created two label controls on the form,
>
>lblTesting and lblWidth
>
>and ran the code
>
>The Width of the lblTesting starts at 60, and ends at 60 !!! It does not get larger!!! Why is that???????
>
>
>
>Thisform.lblTesting.Caption = 'ONE'
>ThisForm.lblTesting.Refresh
>Thisform.lblWidth.Caption = ALLTRIM(STR(Thisform.lblTesting.Width))
>
>Thisform.lblTesting.Caption = 'ONE TWO'
>ThisForm.lblTesting.Refresh
>Thisform.lblWidth.Caption = ALLTRIM(STR(Thisform.lblTesting.Width))
>
>Thisform.lblTesting.Caption = 'ONE TWO THREE'
>ThisForm.lblTesting.Refresh
>Thisform.lblWidth.Caption = ALLTRIM(STR(Thisform.lblTesting.Width))
>
>Thisform.lblTesting.Caption = 'ONE TWO THREE FOUR'
>ThisForm.lblTesting.Refresh
>Thisform.lblWidth.Caption = ALLTRIM(STR(Thisform.lblTesting.Width))
>
>Thisform.lblTesting.Caption = 'ONE TWO THREE FOUR FIVE'
>ThisForm.lblTesting.Refresh
>Thisform.lblWidth.Caption = ALLTRIM(STR(Thisform.lblTesting.Width))
>
>
>Thanks!

Is AutoSize set to ,T, for the label? It needs to be.

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

Click here to load this message in the networking platform