popupMessage()
Sends a pop-up message to the desired user interface. With this function you can send messages to other "foreign" user interfaces.
Synopsis
void popupMessage(string uiDp, langString msgText [,unsigned msgNo]);
Parameters
Parameter | Description |
---|---|
uiDp | The wanted user interface |
msgText | The message |
msgNo | Identification number. The number can be selected freely. The parameter is optional. The default setting is 1. |
Return value
None
Error
-
Description
Sends a pop-up message to the wanted user interface.
Example
The following example sends a message to the user interface with the number 1 (own user interface).
main()
{
string uiDp = "_Ui_1";
langString msgText = "This is a message";
popupMessage(uiDp, msgText);
}
Assignment
Graphics functions
Availability
UI, CTRL