CAPTION Statement

This resource-definition statement sets the title for a dialog box. The title appears in the box’s caption bar, if one exists.

Syntax

CAPTIONcaptiontext

Parameters

captiontext

Specifies a character string that is enclosed in double quotation marks (“).

Remarks

The default caption is empty.

Example

The following code example shows how to use the CAPTION statement.

CAPTION "Error!"