I am using jXUI v1.80 and I noticed at times when I call XUI.MsgBoxAsync(MyMsg, MyTitle), it will display the text for the long string in MyMsg wrapped in the dialog window but it will only display the first 2 lines. The 2nd line will mysteriously end in "..." indicating not all of the text was displayed. The text should have wrapped onto 3 lines but the 3rd line is missing.
I printed the text in the Log just before calling the MsgBoxAsync() and the text is all there, but does not always get displayed by MsgBoxAsync. Occasionally it will display the entire line wrapped onto 3 lines, but most of the time it will display the text only on 2 lines with the last line truncated.
I just found out what is what is causing the problem. The 3 lines will get displayed properly if the B4J app has focus. As soon as I click on another program and the B4J app loses focus, the dialog truncates the text to 2 lines and the 2nd line will now end in "...". This also causes a problem if the MsgBoxAsync gets called in a delayed event when the app is not in focus, it will truncate the message to 2 lines and there is no way to get the 3rd line displayed, even if I click on the dialog window so the B4J app is now in focus. This is annoying.
Has anyone else noticed this? Is there a way to get it to display more than 2 lines when the app is not in focus?
TIA
I printed the text in the Log just before calling the MsgBoxAsync() and the text is all there, but does not always get displayed by MsgBoxAsync. Occasionally it will display the entire line wrapped onto 3 lines, but most of the time it will display the text only on 2 lines with the last line truncated.
I just found out what is what is causing the problem. The 3 lines will get displayed properly if the B4J app has focus. As soon as I click on another program and the B4J app loses focus, the dialog truncates the text to 2 lines and the 2nd line will now end in "...". This also causes a problem if the MsgBoxAsync gets called in a delayed event when the app is not in focus, it will truncate the message to 2 lines and there is no way to get the 3rd line displayed, even if I click on the dialog window so the B4J app is now in focus. This is annoying.
Has anyone else noticed this? Is there a way to get it to display more than 2 lines when the app is not in focus?
TIA