你好,
我有下面的脚本,它创建一个窗口,要求用户填充零件号和批号。 当在“零件号”框中输入值并单击“批号”字段时,“零件号”字段中的值将消失。 反之亦然。
对于为什么会发生这种情况有什么想法吗?
nw = New Window("Material Information", << Modal,
Text Box("Information Type"),
Text Box(""),
V List Box(
H List Box( Text Box("Material Part Number: "),
str_PN_bx = Number Edit Box()),
Text Box(""),
H List Box (Text Box("Material Lot Number: "),
str_LN_bx = Number Edit Box()),
Text Box("")),
V List Box(ok_btn = Button Box("OK",
str_PN = str_PN_bx << Get();
str_LN = str_LN_bx <<GET></GET>
谢谢!