Eduardo,
Your script works in JMP 12 (as you probably know). Remove << Modal, and your script will work. I thought I documented this, but maybe not: I cannot find a tracking number and the bug persists in JMP 14.
This issue is that the number edit box acts like a number is typed with no return, meaning it is active/selected.
Even if the DisplayBox is created first then referenced to in the window, it is still active. Note if it is disabled, the first tab is selected. So the problem is with NumberEditBox and Modal.
Either your Dialog needs to be non-modal or use TextEditBox and convert it to a Number or maybe JMP Support has a work around.
lub = lineupbox(ncol(1),
TextBox("Setting one"),
numone0=NumberEditBox(2);
);
//numone0 << enable(0);
nx0=New Window( "Input", <<Modal,
tab=Tab Box(
"Files",
lineupbox(ncol(2),
textbox("Open file"),
),
"Values",
lub
),
tab << Set Selected(1),
hlistbox(
btok=button box("OK",numone=numone0<<get),
btcanc=button box("Cancel",Close All(Journals,Reports,NoSave);clear globals();clear symbols();cancel_flag=1),
),
);