Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stubborn Caption Placement ! part 2
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Stubborn Caption Placement ! part 2
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:
01629121
Views:
40
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!
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform