Textbox text visibility

  • Thread starter Thread starter bcelestia
  • Start date Start date
B

bcelestia

I have a fixed dimension Textbox on a spreadsheet. I read variable data
(Text) from a database field and insert it into the textbox. The
spreadsheet is eventually printed. I need to check if all of the text
in the textbox is actually visible to the user. i.e too much text will
be clipped. The text can contain carriage return or linefeed
characters.

If not then I would possibly reduce the font size assigned to the text
box until all the Text is visible to the user.

Does anyone know a method to do this?
 
No, What I mean is that the text box has a fixed height & width. If
'too much' text is actually
in the textbox then some of the text is not visible on screen & will
not show on a printout.

I need some code that will detect this so that I can programatically
reduce the font size applied to the text box until all of the text is
visible.
 

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

Back
Top