My first guess would be to count the number of lines (rtb.Lines.Count
IIRC) and then figure out the multiplier based on that number. For
example, if a line was 20 pixels tall and you had 8 lines, you would
set the height equal to 160 (8 * 20)
Have a look at the ContentsResized event. I think that it will give you
what you want.
Cheers,
Randy
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.