General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only