Sidebar

Home



Expressions V4


Tutorials

How-To

Reference

  Lexical basics
  Type system
  Variables and assignment
  Operators
  Expression rules
  Control flow
  Functions
  Built-in functions
   None and NaN
   Arithmetic
   Algebra
   Logarithmic and Exponential
   Trigonometric
   Rounding and Centering
   Strings
   Output, Formatting, Clipboard, and Errors
   Dialog Functions
   Platform and Paths
  Methods and properties
  Built-in methods
   Common Value Methods
   Number Methods
   String Basic Methods
   String Slice Methods
   String Parsing Methods
   String Formatting Methods
   String Regex Methods
   String Trim and Case Methods
  Objects
  Built-in objects
   Global objects
    settings
    controller
    session
    python
   Collections
    array
    map
    bytes
   File Format I/O
    image_data
    image_stream
   Utils
    crypto
    timer
   Comm
    serial
   Dialogs
    file_open
    file_save
    msg_ok
    msg_ok_cancel
    msg_yes_no
    msg_password
   GUI objects
    window
    panel
    group
    splitpanel
    label
    textbutton
    drawablebutton
    togglebutton
    togglegroup
    textinput
    textedit
    numinput
    slider
    combobox
    listbox
    progressbar
    led
    separator
    menu
    image
    snake
  Classes and user-defined objects
  Include system
  Error model
  Execution model and sessions
  Host integration
  Limits and performance
  Formal reference
  Glossary

Cookbook

exprv4:reference:functions:dialog_functions

Dialog Functions

These functions show simple host message dialogs and return numeric dialog result codes.

For newer object-based dialogs, see Dialogs.

msgdlg_ok(value, ...)

Shows an OK message dialog.

Argument Type Description
`value` any First value appended to the message. Optional.
`…` any Additional values appended to the message.

Returns: numeric dialog result code.

Example:

msgdlg_ok('Operation complete');

msgdlg_ok_cancel(value, ...)

Shows an OK/Cancel message dialog.

Argument Type Description
`value` any First value appended to the message. Optional.
`…` any Additional values appended to the message.

Returns: numeric dialog result code.

Example:

result = msgdlg_ok_cancel('Continue?');

msgdlg_yes_no(value, ...)

Shows a Yes/No message dialog.

Argument Type Description
`value` any First value appended to the message. Optional.
`…` any Additional values appended to the message.

Returns: numeric dialog result code.

Example:

result = msgdlg_yes_no('Use current position?');

msgdlg_yes_no_cancel(value, ...)

Shows a Yes/No/Cancel message dialog.

Argument Type Description
`value` any First value appended to the message. Optional.
`…` any Additional values appended to the message.

Returns: numeric dialog result code.

Example:

result = msgdlg_yes_no_cancel('Save changes?');

Previous: Output, Formatting, Clipboard, and Errors

Next: Platform and Paths

exprv4/reference/functions/dialog_functions.txt · Last modified: by 127.0.0.1

Page Tools