I have a control on a report that is a fixed width, due to the page size. I want to automatically size the text to fit within the control named 'AName1' (which is a label) so that ALL of it is visible. Centering horizontally is easy, but I'd also like the text to be centered vertically.
Now, I already tried a "if len(d)=10 then AName1.FontSize = 28" type of structure, but a) it's clunky b) it doesn't work every time. Any ideas?