Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label centering
Message
From
13/10/2000 10:59:17
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00429026
Message ID:
00429090
Views:
16
Thanks, but the whole reason I wanted to be able to center the label is to avoid having to add an extra control. :)

I don't need it in a grid, so I guess I'll go back to my original idea of putting the shading behind it in a shape.

Thanks,

Michelle


>Hi!
>
>Vertical centering by 'easy way' is available in grid column only.
>
>In your case you may make special container control with label inside and calculate TOP property of label to center label control inside of grid. Than make label auto-size with word wrap and reposition label each time caption changed or form refreshed. Caption_Assign method of label might be useful here when you need to make such conrol as class.
Previous
Reply
Map
View

Click here to load this message in the networking platform