cancel
Showing results for 
Search instead for 
Did you mean: 

MOM_display_message

Valued Contributor
Valued Contributor

In NX9 there is a new MOM-command:

 

For example:

 

    MOM_display_message "There is an error !!!" "Errortitle" "I" "OK" "Return" "Exit"

 

How do I get the return-value 1, 2 or 3, depending which button is clicked?

 

Thank's for help

2 REPLIES

Re: MOM_display_message

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

You can use something like this:

 

global return_value

set return_value  [MOM_display_message "Select machine" "Select Machine" Q Alpha-T21iL Alpha-T21i]

 

Best Regards,

Re: MOM_display_message

Valued Contributor
Valued Contributor

Great! This is what I did but I forgot to set the variable global.

 

Thank's a lot

Learn online





Solution Information