cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Jackie_
Level VI

Lasso Tool in the modal window

Hi,

 

Is there a way to call Lasso in the modal window?

 

Jackie__0-1713819941690.png

 

JMP documentation says to press L, but it doesn't work in the modal window. Any suggestion?

 

Jackie__1-1713819981460.png

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New window("",modal,
gbp = Graph Builder(
	Variables( X( :height ), Y( :weight ) ),
	Elements( Points( X, Y ), Smoother( X, Y ) )
);
)

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Lasso Tool in the modal window

Seems like modal windows block most of the shortcuts from being run. You could add additional controls to access it if you really need modal window

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("", << modal,
	Button Box("Lasso",
		Main Menu("Lasso")
	, << Set Icon("WinToolsLasso")
	),
	gbp = Graph Builder(
		Variables(X(:height), Y(:weight)),
		Elements(Points(X, Y), Smoother(X, Y))
	)
);
-Jarmo

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Lasso Tool in the modal window

I don't see a way to access the Lasso tool in a modal window.  This sounds like a great item to add to the JMP Wish List.

 

However, you can make a non modal window work somewhat like a modal window by placing the code to be processed after the window closes in an   On Close() function for the window.

Jim
jthi
Super User

Re: Lasso Tool in the modal window

Seems like modal windows block most of the shortcuts from being run. You could add additional controls to access it if you really need modal window

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("", << modal,
	Button Box("Lasso",
		Main Menu("Lasso")
	, << Set Icon("WinToolsLasso")
	),
	gbp = Graph Builder(
		Variables(X(:height), Y(:weight)),
		Elements(Points(X, Y), Smoother(X, Y))
	)
);
-Jarmo