我創建了一個空白應用程式並編寫了 jmp 腳本,用於以分配給 module1 的速度顯示新視窗。 但是當運行應用程式時,會彈出另一個視窗。 如何處理該視窗以使其不可見。
這是新視窗的範例程式碼。
Names Default To Here( 1 );
If(
ex = New Window( "Modal Dialog example",
<<TYPE>= 1 & num <= 100;
,
variable <<
Background Color( "Background" );
1;
,
variable <<
Background Color( "Light Yellow" );
0;
)
),
V List Box(
Text Box(
"Enter a value between [1,100]:"
),
H List Box(
variable = Number Edit Box( 42 )
),
H List Box(
Button Box( "OK" ),
Button Box( "Cancel" )
)
)
);
ex["button"] == 1;
,
ex["variable"],
"CANCEL"
);</TYPE>我正在附加兩個彈出的窗口
編輯。