Flexpendant GtpuMessageBox ??
PerM
✭
Hi,
I hope someone can help me. I'm going to use the Flexpendant GTPUMessageBox. However, in the documentation this is only described in C#, and I'm using VB. I have tried, but not succeeded in translating.
I use the follwing to call up the msgbox:
GTPUMessageBox.Show(Me, New MessageBoxEventHandler(AddressOf_ OnServerMessageClosed), "Do you really want to activate", "Activate?",_ System.Windows.Forms.MessageBoxIcon.Question,_ System.Windows.Forms.MessageBoxButtons.YesNo)
Is that OK to begin with?
And then, how should my event sub look like?
Help would really be appreciated. I might be completely lost here :-)
/Per Malmqvist
0
Comments
-
Maybe:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
GTPUMessageBox.Show(Me, New MessageBoxEventHandler(AddressOf OnServerMessageClosed), "Do you really want to activate", "Activate?", System.Windows.Forms.MessageBoxIcon.Question, System.Windows.Forms.MessageBoxButtons.YesNo)
End Sub
Public Sub OnServerMessageClosed(ByVal sender As Object, ByVal e As ABB.Robotics.Tps.Windows.Forms.MessageBoxEventArgs)
End SubLennart H0 -
Thanks Lennart,Works great./Per Malmqvist0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings