Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in the logic?
Message
 
To
27/09/2011 13:35:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01524938
Message ID:
01524943
Views:
50
>Center has nothing to do with AutoSize, which only changes the width of the label. Actually, if guess you must set AutoSize off in your case, to allow for room to center.

The code is right, I tested it and it works, the autosize is important so you get the actual width of the label after changing the caption, otherwise you will need to calculate it manually. I think she is just missing the refresh.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform