Hi Guys!
I am trying to resize a label field based on the number of lines of text it contains. If I was to add a new line to a label field, how would I resize the height of the selected field?
Thanks for your replies!!!!
Googie.
Resizing A Label Field.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Resizing A Label Field.
Hi.
There is a very cool bunch of properties that contains the word "formatted". Check the dictionary. In your case, after you have loaded your label field with whatever text,
Craig
There is a very cool bunch of properties that contains the word "formatted". Check the dictionary. In your case, after you have loaded your label field with whatever text,
Code: Select all
set the height of field yourLabelField to the formattedHeight of field yourLabelField