Is it possible to design a modal window with multiple "OK" choices? I think my main difficulty is closing the window after selection of the second OK button. Is there a more clever way to do this? I am using JMP11. Example is below.
Thanks!
w1 = New Window( "New Window",
<<Modal,
// Get user input,
H List Box(
Button Box( "OK",
// Proceed with option 1
),
Button Box( "Other OK",
w1 << Close Window; // I can not get this to work.
// Proceed with option 2
),
Button Box( "Cancel", Throw( "Script cancelled by user." ) )
)
);