NumberEditBox is an example of a display box. You can put multiple display boxes in a window by separating them with a comma.
New Window("ABC", <<Modal,
neb1 = Number Edit Box( 1 ),
neb2 = Number Edit Box( 1 ),
neb3 = Number Edit Box( 1 ),
);
A = neb1 << get;
B = neb2 << get;
C = neb3 << get;
For further composition you can use display boxes that control layout: V List Box, H List Box, Lineup Box:
nw = New Window("ABC", <<Modal,
Lineup Box(NCol(2),
Text Box("A: "), neb1 = Number Edit Box( 1 ),
Text Box("B: "), neb2 = Number Edit Box( 1 ),
Text Box("C: "), neb3 = Number Edit Box( 1 ),
)
);
If (nw["Button"]==-1,
Throw() // user cancelled
);
A = neb1 << get;
B = neb2 << get;
C = neb3 << get;
show(A,B,C);
-Dave