显示包含消息和三个按钮的对话框。


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.

    密钥 必须与 "属性 "对话框的 "密钥 导航 "页面上的密钥名称相匹配。

  • 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.

    密钥 必须与 "属性 "对话框的 "密钥 导航 "页面上的密钥名称相匹配。

  • 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.

    密钥 必须与 "属性 "对话框的 "密钥 导航 "页面上的密钥名称相匹配。

  • 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可隐藏该按钮。可使三按钮对话框转换为单按钮或双按钮对话框。例如,使用该VI可在没有帮助信息的情况下隐藏帮助按钮。如连线空字符串至对话框的每个按钮,则该VI可显示默认的确认按钮。