Here is what I can see how infoLog is working. then below it I will show what I need to do.
The main area of the infolog shows the message in one long line.
When the user clicks on it, the same message, this time wrapped into multiple lines, will be shown in the bottom group of the infoLog.
![]()
If the screenshot is not included in this post, here is what is in the main group:
The customer has exceeded their credit limit.
The customer may need to take action on their account before you can .........
(the rest of the message cannot not be seen unless the window is dragged to be wider or the user click on the message so that it can wrap in the bottom group.
So the bottom group will show:
The customer may need to take action on their account before you can
complete this order!
Credit limit: $a
Current order: $b
Balance: $c
I added linebreaks when building the message and then use StrFmtLB when adding to infolog.
What I am tasked with, is to split the message. So the main group area of the infolog will display one part of the message and without the user clicking on the message, the second part of the message will automatically display in the bottom group.
Main group must show (as you can see the 2nd line that is too long, must automatically wrap):
The customer has exceeded their credit limit.
The customer may need to take action on their account before you can
complete this order!
The bottom group must only show:
Credit limit: $a
Current order: $b
Balance: $c
Nowhere can I find an example on how to display 2 different messages in the info log: one in the main group and the other one in the bottom group. Also how do I tell the main group to apply the line break "\n" that I have put in the message so that the too long message can wrap in the main group area.