Sys_BreakthruMsgbox
Description
Section titled “Description”Shows a message. Default timeout is 10 minutes. Use giJobTrigBalloonTimeout to change timeout
Syntax
Section titled “Syntax”Sys_BreakthruMsgBox(sCaption, sText, sButtons, sDefault, sIconStyle, bASync) As Boolean
Syntax for newline
Section titled “Syntax for newline”“Please reboot to complete the installation” & “\n” & “From IT Support”
Syntax for Æ Ø Å
Section titled “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 (output: Æbler).
If bStatus Then bStatus = Sys_BreakthruMsgBox("Information", (Chr(198) & "bler"), "OK", "ONE", "INFORMATION", True)This example shows how to change the last letter of a word (output: Udviklingsmiljø).
If bStatus Then bStatus = Sys_BreakthruMsgBox("Information", ("Udviklingsmilj" & Chr(248)), "OK", "ONE", "INFORMATION", True)This example shows how to change a letter between the start and the end of a word (output: Måske).
If bStatus Then bStatus = Sys_BreakthruMsgBox("Information", ("M" & Chr(229) & "ske"), "OK", "ONE", "INFORMATION", True)Parameters
Section titled “Parameters”sCaption (String)
Section titled “sCaption (String)”Title of the messagebox
sText (String)
Section titled “sText (String)”Text in the messagebox
sButtons (String)
Section titled “sButtons (String)”Specifies button-type. Valid values: ‘OK’, ‘YESNO’, ‘YESNOCANCEL’, ‘ABORTRETRYIGNORE’, ‘OKCANCEL’ and ‘RETRYCANCEL’
sDefault (String)
Section titled “sDefault (String)”Specifies the default button in messagebox. Valid values: ‘ONE’, ‘TWO’ or ‘THREE’
sIconStyle (String)
Section titled “sIconStyle (String)”Used Icon-style in messagebox. Valid values: ‘STOP’, ‘QUESTION’, ‘EXCLAMATION’, ‘INFORMATION’
bASync (Boolean)
Section titled “bASync (Boolean)”Specifies if the messagebox displays asynchronously(True) or waits for the user to respond(False)
Return value
Section titled “Return value”Result will be stored in gsValue. Valid answers are: ‘OK’, ‘YES’, ‘NO’, ‘ABORT’, ‘RETRY’, ‘CANCEL’ and ‘IGNORE’
Example:
Section titled “Example:”bStatus = Sys_BreakthruMsgBox("Message Title", "Message body", "OK", "ONE", "INFORMATION", True)Related functions
Section titled “Related functions”Job_SilentInstallation Sys_LogOffUser Sys_GetLocaleLanguageID $InputObject.ShowMessageBox Dialog Constants Constants Package Property Variables