>>Harry,
>>
>>
MessageBox( " this is " + chr(13) + "a test" + chr(13) + " does it work like one would expect it to work?" )
>
>yup, sure did...
>
>>
>>Retains all spaces for me. You should note there is a finite size limit to the string that can be displayed in MessageBox().
>
>aha - I think you just hit the proverbial nail on the proverbial head? Many of my 'messages' are pretty lengthy.
>
>And what, pray, is this limit?
>
>And - to the boys and girls at Microsoft if you're looking in - why the **** isn't it mentioned in the msdn help on messageboxes! Jeez, you'd think that sort of thing would be considered pretty basic!
Download Alert.zip from Files here - the string is of unlimited size (provided you don't overrun your screen resolution), reacts on chr(13), and you have your buttons with whatever text you like. I've always hated the "if you want this, press 'yes', of you want that, press 'no' and if you don't want anything, press 'cancel'. It's used like
reply=alert("what do you want","this;that;nothing")
It returns 0 for Escape/closebox, or the ordinal number of the button. No icons, sorry. Stuff your own definition for g_fontname and g_fontsize; it should default to _screen.fontname and _screen.fontsize, but I'm not sure the version on the UT has these defaults done.