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
hans_deroos
Level II

JMPStart - Custome Window must be in front of Home Window

I would like my own Window menu to be the front window when JMP is started.

I tried to put my menu window script in jmpStart.jsl.  It loads the menu, but when loaded is at the back of the Home Window.  I tried to minimize the home window with a old suggestion of David Burnham.

 

ServerMenu = New Window( "Access to QAQC Add-ins", ......);

Main Menu("Minimize All");

ServerMenu << On Close(

  Main Menu("Restore All")

);

But still loads my menu window first and then the home window. (PS I don’t want to make the Window Modal)

1 REPLY 1
jthi
Super User

Re: JMPStart - Custome Window must be in front of Home Window

Maybe you could try using Schedule with << bring window to front? This seemed to work for me but there might be better solutions around.

 

Names Default To Here(1);

nw = new window("test");
nw << Set Window Size(1400,1400);

s = Schedule(
	0,
	nw << bring window to front;
	s << Close;
);
-Jarmo