CAPTION Statement

The CAPTION resource-definition statement sets the title for a dialog box. The title appears in the box's caption bar (if it has one).

The default caption is empty.

Syntax

CAPTION "captiontext"
 

Parameters

captiontext
Specifies a character string enclosed in double quotation marks (").

Example

The following example demonstrates the use of the CAPTION statement:

CAPTION "Error!"