Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.Width does not change
Message
 
To
26/03/2009 13:33:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01391666
Message ID:
01391667
Views:
49
>Hi all
>
>In form.Init if i change the caption of a label, but the width of the label remains the same
>
>
>thisform.label1.caption = 'Label1'
>nWidth1 = thisform.label1.Width
>thisform.label1.AutoSize=.f.
>thisform.label1.caption = 'A quick brown fox jumps over the lazy dog'
>thisform.label1.AutoSize=.t.
>nWidth2 = thisform.label1.Width
>
>?nWidth1=nWidth2 && .t.
>
>
>
>please guide


What is the value of Anchor property?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform