Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?あなたが必要モーダルオプション。
A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.A modal window waits for a response; you can't do anything else until it closes.モーダル ウィンドウは応答を待ちます。閉まるまで他に何もできません。
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?ありがとうクレイジ!
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?数値編集ボックスではなく、テキスト編集ボックス。

また、ご覧くださいモーダル ダイアログ、特にモーダル ダイアログから回答を取得する方法。
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?ありがとう専門家!

Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?モーダルの場合は、例を変更するだけです:
ex = New Window( "Dialog() example",
<<MODAL></MODAL>// because the window is modal, the window must be closed before the following code runs
If(
ex["button"] == 1, // not canceled
// then show the value
write(ex["variable"] ), // note: variable is the name of the variable holding the text edit box<BR />// else report no selection
write("CANCEL"); // cancel button or red X was pressed
);
スクリプト インデックスの例は、より役立つように少し書き直す必要があります。 主な問題を修正し、上記のコメントを追加しました。 主な問題は、この例の if 句が、セミコロンを使用した紛らわしい二重ステートメントであることです。
編集: 書式設定を修復します (何らかの理由で、コード フォーマッタが最後の else ステートメントを台無しにしようとしています)
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?この完全な操作を可能にするにはどうすればよいでしょうか?
ありがとう専門家!

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
ex = New Window( "Example: Text Edit Box",
Outline Box( "Picker Example",
H List Box( Text Box( "Label:" ), Text Edit Box() )
)
);
//Wait for me to input text "JANE"
na = EvalContextBox;//??The variable automatically retrieves the filled text
dt << Select Where( :name == na );
d3 = dt << Subset(
Output Table( "tmp" ),
Selected Rows( 1 ),
selected columns( 0 )
);
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?これが実際の例です。ユーザーがモーダル ダイアログを終了する前に、<< モーダルを含め、テキスト エディット ボックスに変数を割り当て、テキスト エディット ボックスの値を取得する必要があります。
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
ex = New Window( "Example: Text Edit Box", << modal,
panel Box( "Picker Example",
H List Box(
Text Box( "Label:" ),
teb = Text Edit Box() ) ),
panel box("Options",
h list box(
ok_button = button box("OK", na = teb << get text),
canc_button = button box("Cancel", na = "")
)
)
);
show(na);
// Wait for me to input text "JANE"
dt << Select Where( :name == uppercase(na) );
d3 = dt << Subset( Output Table( "tmp" ), Selected Rows( 1 ), selected columns( 0 ) );Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?2 つの競合するアプローチがあります。
@pmroz例は、<<モーダル ダイアログを使用する 1 つの方法を示しています。[OK] ボタンの JSL コールバック関数は、ダイアログの値をグローバル変数にコピーします。
上記のいくつかの回答では、 <
Re: JSL でダイアログ ボックスをポップアップさせ、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?ex=New Window("",<<MODAL></MODAL>Re: JSL でダイアログ ボックスをポップアップし、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?ex=New Window("",<<MODAL></MODAL><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-04-07_09-58-22.png" style="width: 469px;"><span class="lia-inline-image-display-wrapper" image-alt="2023-04-07_09-58-22.png" style="width: 469px;"><img src="https://us.v-cdn.net/6038925/uploads/images/51793i66A7DA8932565CE0/2023-04-07_09-58-22.png" role="button" title="2023-04-07_09-58-22.png" alt="2023-04-07_09-58-22.png" /></span></SPAN>
JSL でダイアログ ボックスをポップアップ表示し、ユーザーがパラメータを入力するのを待つにはどうすればよいですか?単一の JSL で実行時にダイアログをポップアップ表示させ、テキストを入力すると内容を読み取って変数に渡して実行を継続するにはどうすればよいでしょうか?
ありがとう!
高度な統計モデリング自動化とスクリプト作成コンテンツの構成