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.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings