auto size label

I

iccsi

I have a report needs to support 2 languages
since 2 languages has different length.
I am looking for the property of canShrink or canGrow or autoFit to
have the label size to fit 2 languages.

Are there any propery or method for this? if not, are there any
workaround?


Your information is great appreciated,
 
M

Marshall Barton

iccsi said:
I have a report needs to support 2 languages
since 2 languages has different length.
I am looking for the property of canShrink or canGrow or autoFit to
have the label size to fit 2 languages.

Are there any propery or method for this? if not, are there any
workaround?


Assuming you want to adjust the width's of the labels, then
try(?) using the report method TextWidth (see VBA Help for
details). Them set the label's Width to a little more than
the value from TextWidth.

If the Height needs to be adjusted, then use a text box with
its CanGrow property set to Yes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top