VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Formatted MsgBoxes

unsticky  (2 Submissions)   String Manipulation   Beginner   Wed 3rd February 2021

I got really tired of having MsgBoxes that reached across the screen to deliver one or two lines of text, so I decided to write a function that would keep them about the same width. The function will add line breaks to keep the length of each line about 70, with variation according to content. I tried to keep the context of the input about the same by only breaking at spaces, dashes, and underscores. The code's a little sloppy, in my opinion, but sadly I'm not even sure how to clean it up.

Rate Formatted MsgBoxes (3(3 Vote))
Formatted MsgBoxes.bas

Formatted MsgBoxes Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters