GTPUMessageBox

Hi,

I?_Tm developing a flexpendat application in .net and I need some guidance with the GTPUMessageBox.

How do I get the result from a question (YES,NO) from a GTPUMessageBox?. Can someone give me an example.

see the section in the RAB User’s Guide called GTPUMessageBox>Using a callback

I have looked at the User’s Guide but can not find any example of doing it in VB.net just C# please help

:wink: 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