void MessageBox(string, string, int)

Shows a message to the user in a centered window

Security

Trust Level Required: None

Parameters

Name Description
message string
The message to show.
title (Optional) string
The title of the MessageBox. Defaults to an empty string.
timeoutMs (Optional) int
Duration to show the MessageBox in milliseconds. Defaults to 0.

Remarks

This method dislpays a prompt with an OK button. If the timeout is not provided, then the user will be able to dismiss the message.

Examples


//Show a message box after user has been on a page for 15 seconds.
window.onload = function() { setTimeout(() => { KioBrowser.MessageBox('Please confirm active user') }, 15 * 1000 ) };

Requirements

KioWare for Windows version 8.11 or greater.