Alert

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > General functions >

Alert

 

Description

 

Creates, displays, and operates an Alert box. The Alert box will be shown in the bottom of the screen closed to System Tray.

 

Syntax

 

Result = Alert(Title, Message [, Timeout])

 

Returns

 

Number, one of the possible values:

-1: Alert box was closed by pressing "X" on the dialog

-2: Alert box was closed by clicking on the label

-3: Alert box was closed due to timeout

 

Parameters

 

Name

Type

Optional

Meaning

Title

String

No

Title of the alert box

Message

String

No

Message to be shown

Timeout

Number

No

TimeOut in seconds.

 

Remarks

 

Restrictions

 

See also

 

Examples