Command Prompt for Windows




Command SETTEXT

Function:

Set the caption of a dialog box or the text for a dialog box item.

Syntax:

SETTEXT dlg_id [id] "string"
dlg_idSpecifies the identifier of the dialog box that contains the item.
idSpecifies the identifier of the item.
stringA sequence of characters.

Note:

The text for any type of item (that has a caption or text) may be set. For example, a list box requires the use of the LBSET command to the current selection in a list box.

When parameter id is not specified then the caption of the dialog box is set to the specified text.

Also see command GETTEXT.