cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
lehaofeng
Level V

Why is caption not displaying properly?

caption("Warning:xxxxxxx")

My computer is a mac system with jmp17, every time I use caption it doesn't display the text, I don't know what's the reason, thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Why is caption not displaying properly?

Have you tried to run the example from the Scripting Index to make sure it is working?

 

Names Default To Here( 1 );
Caption(
	{100, 200},
	"explanation",
	Font( "Arial Black" ),
	Font Size( 16 ),
	Text Color( "blue" ),
	Back Color( "yellow" ),
	Spoken( 1 ),
	Delayed( 1 )
);

 Also, any option arguments from one Caption() function call are remembered in the next call. They act like defaults for subsequent calls. Does it fail on the first and every subsequent call, or fail only on some calls?

View solution in original post

2 REPLIES 2

Re: Why is caption not displaying properly?

Have you tried to run the example from the Scripting Index to make sure it is working?

 

Names Default To Here( 1 );
Caption(
	{100, 200},
	"explanation",
	Font( "Arial Black" ),
	Font Size( 16 ),
	Text Color( "blue" ),
	Back Color( "yellow" ),
	Spoken( 1 ),
	Delayed( 1 )
);

 Also, any option arguments from one Caption() function call are remembered in the next call. They act like defaults for subsequent calls. Does it fail on the first and every subsequent call, or fail only on some calls?

lehaofeng
Level V

Re: Why is caption not displaying properly?

Thank you for your answer! It works perfect!