Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
ivo
ivo
Level I

JMP pro 15 modal window how to close

Hi, if I run below script in JMP pro 15 with german language the window does not close when I click on cancel. Same script under english language works well. And even in JMP14 (german and english) the window is closed after click on cancel. Any idea how to get this modal window closed in JMP 15 german as well?

Thanks in advance,

Ivo

 

 

nw = New Window( "Test",
	<<Modal,
	Text Box( "Press OK to do something." ),
	H List Box(
		Button Box( "OK" ),
		Button Box( "Cancel" )
	)
);

// If cancel or X was clicked, stop the script
If( nw == {Button( -1 )}, Stop() );

Print( "Do something" );
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: JMP pro 15 modal window how to close

If you change the text for the Cancel button to "Abbrechen" (German for Cancel) it works fine.

Jim

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: JMP pro 15 modal window how to close

If you change the text for the Cancel button to "Abbrechen" (German for Cancel) it works fine.

Jim

View solution in original post

Highlighted
ivo
ivo
Level I

Re: JMP pro 15 modal window how to close

thanks Jim! this works perfect. very obvious once you know

best regards,

Ivo

Article Labels

    There are no labels assigned to this post.