Options
All
  • Public
  • Public/Protected
  • All
Menu

Simple MsgBox API.

deprecated

Legacy API, retained for compatibility. Consider migrating to DialogCreator.

Hierarchy

  • MsgBoxSimple

Index

Methods

confirm

  • confirm(message: string, callback: Function, icon?: string): MessageBox
  • Shows a confirmation prompt.

    Parameters

    • message: string

      The message to display.

    • callback: Function

      The callback to call.

    • Optional icon: string

      The icon to use.

    Returns MessageBox

error

  • error(title: string, message: string, oktext: string): MessageBox
  • [old API - use DialogCreator]

    Shows a messagebox containing an error.

    Parameters

    • title: string

      The title of the message box.

    • message: string

      The message to display.

    • oktext: string

      The string to display as the confirmation button caption.

    Returns MessageBox

idleProgress

  • idleProgress(title: string, message: string): MessageBox
  • Shows a status box with an idle progress bar.

    Parameters

    • title: string

      The title of the message box.

    • message: string

      The message to display.

    Returns MessageBox

info

  • info(title: string, message: string, oktext: string): MessageBox
  • [old API - use DialogCreator]

    Shows a messagebox containing an informational message.

    Parameters

    • title: string

      The title of the message box.

    • message: string

      The message to display.

    • oktext: string

      The string to display as the confirmation button caption.

    Returns MessageBox

prompt

  • prompt(title: string, message: string, def: string, callback: Function, password?: boolean): StandardWindow
  • Shows a prompt.

    Parameters

    • title: string

      The title of the prompt.

    • message: string

      The message of the prompt.

    • def: string

      The default message to include.

    • callback: Function

      The callback to use once the prompt is complete.

    • Optional password: boolean

      Is a password prompt.

    Returns StandardWindow

status

  • Shows a status box.

    Parameters

    • title: string

      The title of the message box.

    • message: string

      The message to display.

    Returns StandardWindow

warning

  • warning(title: string, message: string, oktext: string): MessageBox
  • [old API - use DialogCreator]

    Shows a messagebox containing a warning.

    Parameters

    • title: string

      The title of the message box.

    • message: string

      The message to display.

    • oktext: string

      The string to display as the confirmation button caption.

    Returns MessageBox

Generated using TypeDoc