Textbox - Does .Text fit?

M

Marcantonio

hi,

how can I see if the text in a multiline textbox fits? that is, is there
a way to check whether the auto vertical scrollbar is enabled or not?

Marcantonio
 
M

Marcantonio

Maybe the Graphics.MeasureString method would be useful?

It would if it supported specifying a bounding box -- however it looks
like the CF does not support this specific overload.

Thank you Chris.

Marcantonio
 

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