Multi-line ShowMsg() ??
Posted 30 June 2004 - 15:45
Is there any way I can use ShowMsg() to display more than one line? If I use a \n in a string to ShowMsg(), it gets truncated when displayed. If such a thing is not possible, can anyone suggest some way where I can display more than one line of text for the user? I want to change the text constantly without user intervention, so using a dialog box might not be a solution.
Posted 12 July 2004 - 20:41
If yes, then can you please explain how that could be done?
Posted 13 July 2004 - 09:18
(I haven't tested this but I think it should work)
Posted 13 July 2004 - 18:55
I tried doing as you suggested. But the string is not displayed after the \n character. Only the part of the string before the \n is displayed, while the others are truncated. As a result, I am not able to get a multi-line SdShowMsg().
Is there anything that I am doing wrong?
I did increase the height of the text area to a considerable amount, and I set "No text wrap" = FALSE.
If I do not use a \n in my string, the full string is still printed on one line. It does not wrap to the next line. The width of the dialog itself is increased when displaying a longer string.
Posted 13 July 2004 - 20:41