# Sys_BreakthruMsgbox

> Shows a message. Default timeout is 10 minutes.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/system-functions/sys-breakthrumsgbox/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

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 newline

“Please reboot to complete the installation” & “\n” & “From IT Support”

### 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`).

**VBScript**

```vb
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ø`).

**VBScript**

```vb
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`).

**VBScript**

```vb
If bStatus Then bStatus = Sys_BreakthruMsgBox("Information", ("M" & Chr(229) & "ske"), "OK", "ONE", "INFORMATION", True)
```

### 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**

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

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Job_SilentInstallation](/capainstaller/vb-scripting-library/job-functions/job-silentinstallation/) [Sys_LogOffUser](/capainstaller/vb-scripting-library/system-functions/sys-logoffuser/) [Sys_GetLocaleLanguageID](/capainstaller/vb-scripting-library/system-functions/sys-getlocalelanguageid/) [$InputObject.ShowMessageBox](/capainstaller/powerpacks/inputobject-showmessagebox/) [Dialog Constants](/capainstaller/vb-scripting-library/addendum/dialog-constants/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
