GTPUMessageBox
David L
✭
Hi,
I?_Tm developing a flexpendat application in .net and I need some guidance with the GTPUMessageBox. <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
How do I get the result from a question (YES,NO) from a GTPUMessageBox?. Can someone give me an example.
0
Comments
-
see the section in the RAB User's Guide called GTPUMessageBox>Using a callbackRussell Drown0
-
I have looked at the User's Guide but can not find any example of doing it in VB.net just C# please help
0 -
I figured it out...the below code seems to work fine...
GTPUMessageBox.Show(Me, New MessageBoxEventHandler(AddressOf Question_Answer), sMsgString, sCaptionString, System.Windows.Forms.MessageBoxIcon.Question, System.Windows.Forms.MessageBoxButtons.YesNo)
Private Sub Question_Answer(ByVal sender As Object, ByVal e As MessageBoxEventArgs)
If e.DialogResult = Windows.Forms.DialogResult.Yes Then
'Do Something
End If
End Sub
Newbe2009-06-19 01:05:490
Categories
- All Categories
- 5.5K RobotStudio
- 396 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