メッセージと3つのボタンを含むダイアログボックスを表示します。


icon

入力/出力

  • cenum.png Justify Message (Left)

    Justify Message sets the justification of the text that is displayed.

    0Left―テキストを左揃えにします。
    1Center―テキストを中央揃えにします。
    2Right―テキストを右揃えにします。
  • cstr.png Window Title ("")

    Window Title is the text to display in the title bar of the dialog box.

  • cstr.png message

    メッセージは、ダイアログボックスに表示されるテキストです。ダイアログボックスの最大サイズは、使用しているコンピュータの画面解像度およびシステムフォントサイズにより決まります。テキストがダイアログボックスの最大サイズを超えると、縦のスクロールバーが右側に表示されます。スクロールすると、最大サイズの外にあるテキストが表示されます。

  • cstr.png Left Button Text ("Yes")

    Left Button Text is the text to display on the left button. The default is Yes.

  • cstr.png Center Button Text ("No")

    Center Button Text is the text to display on the center button. The default is No.

  • cstr.png Right Button Text ("Cancel")

    Right Button Text is the text to display on the right button. The default is Cancel.

  • ccclst.png Keyboard Shortcuts (Left is <Enter>)

    Keyboard Shortcuts specifies keyboard shortcuts for each button in the dialog box.

    たとえば、ダイアログボックスにあるヘルプボタンに<F1>キーのショートカットを指定できます。デフォルトは左ボタンに<Enter>キーのショートカットで、中央および右ボタンにはショートカットは設定されていません。

  • ccclst.png Left Button Key Shortcut

    Left Button Key Shortcut specifies a keyboard shortcut for the left button.

  • cbool.png Control

    If Control is TRUE, the keyboard shortcut includes the <Ctrl> key.

  • cbool.png Shift

    If Shift is TRUE, the keyboard shortcut includes the <Shift> key.

  • cstr.png Key

    Key is the name of the shortcut key.

    キーはProperties ダイアログ・ボックスの Key Navigation ページにあるキー名と一致しなければならない。

  • ccclst.png Center Button Key Shortcut

    Center Button Key Shortcut specifies a keyboard shortcut for the center button.

  • cbool.png Control

    If Control is TRUE, the keyboard shortcut includes the <Ctrl> key.

  • cbool.png Shift

    If Shift is TRUE, the keyboard shortcut includes the <Shift> key.

  • cstr.png Key

    Key is the name of the shortcut key.

    キーはProperties ダイアログ・ボックスの Key Navigation ページにあるキー名と一致しなければならない。

  • ccclst.png Right Button Key Shortcut

    Right Button Key Shortcut specifies a keyboard shortcut for the right button.

  • cbool.png Control

    If Control is TRUE, the keyboard shortcut includes the <Ctrl> key.

  • cbool.png Shift

    If Shift is TRUE, the keyboard shortcut includes the <Shift> key.

  • cstr.png Key

    Key is the name of the shortcut key.

    キーはProperties ダイアログ・ボックスの Key Navigation ページにあるキー名と一致しなければならない。

  • cbool.png Allow user to close window? (TRUE)

    If Allow user to close window? is TRUE (default), the operating system window close button appears in the dialog box, and the user can close the dialog box without clicking the left, center, or right buttons.

    ほとんどのオペレーティングシステムでは、ウィンドウズクローズボタンはウィンドウの右上角に表示されます。

  • ienum.png Which Button?

    Which Button? indicates which button the user clicked.

    0
    Left Button
    1
    Center Button
    2
    Right Button
    3Window Close―ユーザが、ボタン、中央ボタン、右ボタンをクリックせずに、ダイアログボックスを閉じました。
  • 空の文字列をボタンテキスト入力に配線した場合、このVIはそのボタンを非表示にします。これにより、3ダイアログボックスを1または2ボタンダイアログボックスに変換できます。たとえば、この機能を使用して、ヘルプが必要ない場合にヘルプボタンを非表示にできます。空の文字列を3のボタンテキスト入力すべてに配線した場合、このVIは1つのデフォルトのOKボタンとともにダイアログボックスを表示します。