Skip to main content

MessageBoxResult

  • July 17, 2015
  • 1 reply
  • 0 views

Good morning,
I'm new to the forum, a query because the method does not appear MessageBoxResult?
Any doubt I am to order.
regards,

Oscar Velasquez G.
Panama

1 reply

Chris Glazier
Forum|alt.badge.img+2

Good morning,
I'm new to the forum, a query because the method does not appear MessageBoxResult?
Any doubt I am to order.
regards,

Oscar Velasquez G.
Panama

Hi Oscar,

The MessageBoxResult enumeration is used in WPF applications.

If you are creating a Windows Forms application then you should be using DialogResult instead:

         evaluate type MessageBox::Show("new message", "caption", type MessageBoxButtons::OKCancel)

            when type DialogResult::OK

               continue

         end-evaluate