Display Box HelpAll,
I have a simple display box I am trying to build, however I would like to be able to use Tabs instead of H list Box that I have shown below. Any help is appreciated.
Close All(DataTables,"No Save");
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Dist1 =
Expr(
Platform(dt,Distribution(Continuous Distribution( Column( :weight ) ),Nominal Distribution( Column( :age ) )));
);
Biv =
Expr(
Platform(dt,Bivariate( Y( :weight ), X( :height ), Fit Line ));
);
NW1 = New Window("Test",
OB1 = Outline Box("Inputs",
VL1 = V List Box(
),
),
);
TP1 = Tab Page Box(Title("Alpha"),Dist1);
TP2 = Tab Page Box(Title("Beta"),Biv);
TB = Tab Box("MyTest",VL2 = V List Box(HL1 = H List Box()));
HL1 << Append(TP1);
HL1 << Append(TP2);
VL1 << Append(TB);
Re: Display Box HelpSounds like you want a tab box inside another tab box. Will this do?
NW1 = New Window( "Test",
OB1 = Outline Box( "Inputs",
tb = tab box("My Test",
tab box("Alpha", Dist1,
"Beta", Biv),
),
),
);Re: Display Box Help@pmroz,
Thank you for your response. I am trying to create a parent-child display box where under a tab box titled "MyTest" for e.g., I would have "Aplha" and "Beta". By using the approach you have recommended, is there a way to achieve that ?
Re: Display Box HelpWould this be easier?
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Dist1 = Expr(
Platform( dt,
Distribution( Continuous Distribution( Column( :weight ) ),
Nominal Distribution( Column( :age ) )
)
)
);
Biv = Expr(Platform( dt, Bivariate( Y( :weight ), X( :height ), Fit Line ) ) );
NW1 = New Window( "Test",
OB1 = Outline Box( "Inputs",
tb = tab box("Alpha", Dist1,
"Beta", Biv
),
),
);