Sys_BreakthruMsgbox

Description

Sys_BreakthruMsgbox

Shows a message. Default timeout is 10 minutes. Use giJobTrigBalloonTimeout to change timeout


Syntax

Sys_BreakthruMsgBox(sCaption, sText, sButtons, sDefault, sIconStyle, bASync) As Boolean


Syntax for Æ Ø Å

When using Æ Ø Å, the Chr(charcode) function must be used. Below is the table for the characters and below that you can find some examples.

Chr(Charcode) Table

æ = Chr(230)Æ = Chr(198)ø = Chr(248)Ø = Chr(216)å = Chr(229)Å = Chr(197)


This example shows how to change the first letter of a word.

VBScriptIf bStatus Then bStatus = Sys_BreakthruMsgBox("Information", (Chr(198) & "bler"), "OK", "ONE", "INFORMATION", True)
OutputÆbler

This example shows how to change the last letter of a word.

VBScriptIf bStatus Then bStatus = Sys_BreakthruMsgBox("Information", ("Udviklingsmilj" & Chr(248)), "OK", "ONE", "INFORMATION", True)
OutputUdviklingsmiljø

This example shows how to change a letter between the start and the end of a word.

VBScriptIf bStatus Then bStatus = Sys_BreakthruMsgBox("Information", ("M" & Chr(229) & "ske"), "OK", "ONE", "INFORMATION", True)
OutputMåske

Parameters

sCaption (String)

Title of the messagebox

sText (String)

Text in the messagebox

sButtons (String)

Specifies button-type. Valid values: 'OK', 'YESNO', 'YESNOCANCEL', 'ABORTRETRYIGNORE', 'OKCANCEL' and 'RETRYCANCEL'

sDefault (String)

Specifies the default button in messagebox. Valid values:  'ONE', 'TWO' or 'THREE'

sIconStyle (String)

Used Icon-style in messagebox. Valid values: 'STOP', 'QUESTION', 'EXCLAMATION', 'INFORMATION'

bASync (Boolean)

Specifies if the messagebox displays asynchronously(True) or waits for the user to respond(False)


Return value

Result will be stored in gsValue. Valid answers are: 'OK', 'YES', 'NO', 'ABORT', 'RETRY', 'CANCEL' and 'IGNORE'


Example:

VBScript
bStatus = Sys_BreakthruMsgBox("Message Title", "Message body", "OK", "ONE", "INFORMATION", True)

Scripting Guidelines


Related functions

Job_SilentInstallation Sys_LogOffUser Sys_GetLocaleLanguageID