You could use text edit box and then parse the user input (use either << set function or parse it after you have the result)
Names Default To Here(1);
nw = New Window("Enter Shop order",
<<Modal,
<<Return Result,
V List Box(
Text Box(" "),
variablebox = Text Edit Box("", << Set N Lines(2), << Set Width(200)),
Spacer Box(Size(0, 10)),
Button Box("OK"),
Button Box("Cancel")
)
);
Or you could add + Button to add more number edit boxes
Names Default To Here(1);
nw = New Window("Enter Shop order",
<<Modal,
<<Return Result,
V List Box(
Text Box(" "),
H List Box(align("top"),
Button Box("+",
lub << Append(Number Edit Box())
),
lub = Lineup Box(N Col(1),
Number Edit Box()
)
),
Spacer Box(Size(0, 10)),
Button Box("OK",
inputs = (lub << XPath("//NumberEditBox")) << get;
),
Button Box("Cancel")
)
);
or utilize number col edit box
Names Default To Here(1);
nw = New Window("Enter Shop order",
<<Modal,
<<Return Result,
V List Box(
Text Box(" "),
H List Box(align("top"),
Button Box("+",
tb << Add Row({"Number", .})
),
tb = Table Box(
ncb = Number Col Edit Box("Number", [.])
)
),
Spacer Box(Size(0, 10)),
Button Box("OK"),
Button Box("Cancel")
)
);
-Jarmo