Enable vertical scrollbar in MessageBox?

  • Thread starter Thread starter kgerritsen
  • Start date Start date
K

kgerritsen

I have a procedure that interrogates a log file when the user first
launches, and displays new rows (delimited with vbNewLine) in a simple
MessageBox(logString, "Events since last run")

Most of the time, that's fine. In rare conditions, the number of rows
in the string exceeds the vertical height of the window. Is there any
way to set the MessageBox to autosize to fit the window and have a
vertical scrollbar?

Because I am lazy, I don't want to necessarily implement my own dialog
box for this but it's not a big deal to do so if necessary.

Regards,
Keith
 
Back
Top