Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stubborn Caption Placement ! part 2
Message
From
19/12/2015 07:53:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01629121
Message ID:
01629129
Views:
47
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform