Curtis cloud wrote:
>   I am dynamically creating a panel and a label above and beneath the
>   panel. The labels look fine with static text. My problem is when I
> change
>   the caption of the label if does not recenter.
>
>   I need the ability to recenter the text if the text changes.

The label has an alignment property so you can tell the caption to be
left-, right-, or center-aligned.

Then turn off AutoSize to prevent the label from changing its size when
its caption changes.

--
Rob




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




YAHOO! GROUPS LINKS




Reply via email to