Dialogs Plugin
(part of package 'Servoy Default Services')
You can access it in code via: plugins.dialogs
Properties
API
showErrorDialog(dialogTitle,dialogMessage,buttonsText)
Shows an error dialog with the specified title, message and a customizable set of buttons.
Example:
Parameters:
Returns: string Pressed button or null if closed by escape key
showInfoDialog(dialogTitle,dialogMessage,buttonsText)
Shows an info dialog with the specified title, message and a customizable set of buttons.
Example:
Parameters:
Returns: string
showInputDialog(dialogTitle,dialogMessage,initialValue,inputType)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Example:
Parameters:
Returns: string
showQuestionDialog(dialogTitle,dialogMessage,buttonsText)
Shows a question dialog with the specified title, message and a customizable set of buttons.
Example:
Parameters:
Returns: string
showSelectDialog(dialogTitle,dialogMessage,options)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Example:
Parameters:
Returns: string
showWarningDialog(dialogTitle,dialogMessage,buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Example:
Parameters:
Returns: string ** pressed button text
Last updated