See also:

TBD

Syntax

JSV_confirm(title,mess,icon,buts,defbut,mods)

Prototype

n/a

Returns

The confirm function returns the TBD.

Parameters

The confirm function uses the following arguments.

Argument Description
title A string to be displayed in the dialog title bar
mess A string to be displayed as the message to the user
icon An integer between 0 and 4, inclusive, denoting the icon to be displayed (refer to table)
buts An integer between 0 and 5, inclusive, denoting the button group to be used (refer to table)
defbut An integer between 0 and 2, inclusive, denoting the default button (refer to table)
mods An integer, either 0 or 1, denoting the modality of the dialog (refer to table)

Remarks

Argument Value Display
icon 0 No icon displayed
1
2
3
4
buts 0
1
2
3
4
5
defbut 0
1
2
mods 0 Application Modal
1 System Modal

Dependencies

n/a

Example

The following lines of code

var f = 43;

produce