Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
UIMessageBox EventArgs
sehe
✭
I am trying to capture event args for UIMessageBoxs. The problem I am having is when there is a comma or [] in the message string. The event args are giving me a MsgArray instead of a single message.
I try running this message box for instance.
MessageAnswer:=UIMessageBox (
Header:="Header"
Message:="Single, Message [2]"
Buttons:=btnOKCancel
Icon:=iconInfo);
This is what the event args gives me.
MsgArray
[0] = "Single"
[1] = "Message 2"
[2] = "Message 2"
It does not give me the comma in the string or either of the brackets. Is there a different way to pull the message into the eventArgs? Is this the way the message is supposed to come through? Also, I do not want it broken into separate array entities.
Thanks for the help.
I try running this message box for instance.
MessageAnswer:=UIMessageBox (
Header:="Header"
Message:="Single, Message [2]"
Buttons:=btnOKCancel
Icon:=iconInfo);
This is what the event args gives me.
MsgArray
[0] = "Single"
[1] = "Message 2"
[2] = "Message 2"
It does not give me the comma in the string or either of the brackets. Is there a different way to pull the message into the eventArgs? Is this the way the message is supposed to come through? Also, I do not want it broken into separate array entities.
Thanks for the help.
0
Comments
-
I'm having the same issue. Did you ever find a solution?0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings