[SOLVED] MessageBox.Show - behaviour changed

Answered Closed
0
0

Hello WiseJ team,

WiseJ version used 2.1.70.

 

Since recently, when MessageBox.Show() callback ‘onclose’ parameter defined (not null), then this .Show() method do not wait for user response and executes following line of a code immediately, it was not the case before (if callback is not passed, then it waits as before)

My question is whether it’s changed intentionally and will be so or it’s a bug and will be fixed soon?

 

Regards,

Michael

  • You must to post comments
Best Answer
0
0

Hi Michael,

If i’m understanding your question, the previous behavior was incorrect.

The correct behavior is to show MessageBox modally if onclose is not defined. If onclose is defined, the program continues normally until the MessageBox is closed, returning to the callback for execution.

It wouldn’t make much sense to provide a callback and also show the MessageBox modally.

Please let me know if you have any questions or want to provide a sample!

Best regards,

Levie

  • You must to post comments
0
0

Hello Levie,

Thanks for confirmation! It answers my question

 

Michael

  • You must to post comments
Showing 2 results