PurpleUnicorn
Programmer
Hi,
I have a form that allows the user to select font/size to be used in a report. I need to know if the text with the selected font will fit on the report - before I close the form. Is there a way to determine the height needed for a control based on the selected font/size. If I can do this, then I can add up the heights for all lines of text and check the sum against the report height.
I have tried setting an unbound field on my form to the selected font/size after the font/size is selected. I have also set CanGrow and CanShrink to yes. The control height does not change.
Anyone have any ideas?
Thanks
Nancy
I have a form that allows the user to select font/size to be used in a report. I need to know if the text with the selected font will fit on the report - before I close the form. Is there a way to determine the height needed for a control based on the selected font/size. If I can do this, then I can add up the heights for all lines of text and check the sum against the report height.
I have tried setting an unbound field on my form to the selected font/size after the font/size is selected. I have also set CanGrow and CanShrink to yes. The control height does not change.
Anyone have any ideas?
Thanks
Nancy