cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-472471%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%BB%BA%E7%AB%8B%E5%B0%8D%E8%A9%B1%E6%96%B9%E5%A1%8A%E4%BB%A5%E6%89%AE%E6%BC%94%E4%B8%8D%E5%90%8C%E8%A7%92%E8%89%B2%E7%9A%84%E5%88%97%E7%9A%84%E8%85%B3%E6%9C%AC%E7%AF%84%E4%BE%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-472471%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E6%88%91%E9%9C%80%E8%A6%81%E7%B7%A8%E5%AF%AB%E8%AB%B8%E5%A6%82%E2%80%9C%E5%8A%A0%E5%85%A5%E2%80%9D%E6%88%96%E2%80%9C%E6%9B%B4%E6%96%B0%E2%80%9D%E5%B0%8D%E8%A9%B1%E6%A1%86%E8%A6%96%E7%AA%97%E4%B9%8B%E9%A1%9E%E7%9A%84%E8%85%B3%E6%9C%AC%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%8C%85%E5%90%AB%E6%89%80%E6%9C%89%E2%80%9C%E6%B8%85%E9%99%A4%E2%80%9D%E3%80%81%E2%80%9C%E5%91%BC%E5%8F%AB%E2%80%9D%E3%80%81%E2%80%9C%E5%88%AA%E9%99%A4%E2%80%9D%E6%8C%89%E9%88%95%E7%AD%89%E3%80%82%E8%BD%89%E6%8F%9B%E7%82%BA%E4%B8%8D%E5%90%8C%E7%9A%84%E8%A7%92%E8%89%B2%EF%BC%89%EF%BC%8C%E4%BE%8B%E5%A6%82%EF%BC%8C%E5%8C%B9%E9%85%8D%E5%85%A9%E5%80%8B%E5%88%97%E4%BB%A5%E4%BE%9B%E9%80%B2%E4%B8%80%E6%AD%A5%E4%BD%BF%E7%94%A8%E7%AD%89%E3%80%82%E6%9C%89%E4%BA%BA%E7%9F%A5%E9%81%93%E5%97%8E%EF%BC%9F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-472471%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3E%E8%B3%87%E6%96%99%E6%B7%B7%E5%90%88%E8%88%87%E6%B8%85%E7%90%86%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-472490%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%89%B5%E5%BB%BA%E5%B0%8D%E8%A9%B1%E7%AA%97%E5%8F%A3%E4%BB%A5%E5%9C%A8%E4%B8%8D%E5%90%8C%E8%A7%92%E8%89%B2%E4%B8%AD%E6%8A%95%E5%B0%84%E5%88%97%E7%9A%84%E8%85%B3%E6%9C%AC%E7%A4%BA%E4%BE%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-472490%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%9C%A8%E9%80%99%E8%A3%A1%E6%89%BE%E5%88%B0%EF%BC%9A%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fnotes%2F46%2F984.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fnotes%2F46%2F984.html%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
miguello
Level VII

Example of a script to make dialogue window to cast columns in different roles

I need to script something like a Join or Update dialog window, with all the Clear, Recall, Remove buttons etc. Basically, I will be choosing what columns to work with (like casting columns in different roles) and, for instance, matching two columns for further use etc. I hope there is an example script for that somewhere. Does anybody know?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
miguello
Level VII

Re: Example of a script to make dialogue window to cast columns in different roles

2 REPLIES 2
miguello
Level VII

Re: Example of a script to make dialogue window to cast columns in different roles

Byron_JMP
Staff

Re: Example of a script to make dialogue window to cast columns in different roles

@miguello That's a pretty good example (kudo).

 

I like this one from the scripting index. Help>Scripting Index, search for "column dialog"

 

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
Column Dialog(
	ex y = ColList( "Y", Min Col( 1 ), Max Col( 2 ), Data Type( "Numeric" ) ),
	ex x = ColList( "X",
		Max Col( 1 ),
		Modeling Type( {"Continuous", "Multiple Response"} )
	),
	Line Up( 2,
		Text Box( "Alpha" ), ex = EditNumber( .05 ),
		Text Box( "Beta" ), ey = EditText( "xyz" )
	),
	HList( cb = Check Box( "check", 1 ) ),
	HList( combo = Combo Box( "option1", "option2" ) ),
	HList( rb = RadioButtons( "a", "b" ) )
);
JMP Systems Engineer, Health and Life Sciences (Pharma)

Recommended Articles