Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autosize=.t. bug...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397170
Message ID:
00397272
Views:
11
>On a form; if you have a label who's autosize property is .t., and alignment = right and you change it's caption in the form's init method
>
>the label's LEFT property does not change; EVER...
>
>Thoughts on how to work around this?
>I want to draw a box around the label's caption that's "adjusted" for the individual caption...

If you are looking for the text size and width in the defined font on the form then try textheight or textwidth this will return the size of the text you pass to it.

this might help in sizing the box for the label
and sizing the label instead of autosize..

Hope this helps
Shawn
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Previous
Reply
Map
View

Click here to load this message in the networking platform