cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
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