# DLGSETTITLE (W*S)

Dialog Subroutine: Sets the title of a dialog box.

## Module

USE IFLOGM

CALL DLGSETTITLE (dlg,title)

dlg | (Input) Derived type `dialog`. Contains dialog box parameters. The components of the type `dialog` are defined with the PRIVATE attribute, and cannot be changed or individually accessed by the user.
title | (Input) Character*(*). Specifies text to be the title of the dialog box.

Use this routine when you want to specify the title for a dialog box.

## Example

    USE IFLOGM
    INCLUDE "MYDLG.FD"
    TYPE (DIALOG) mydialog
    LOGICAL retlog
    ...
    retlog = DLGINIT(IDD_mydlg, mydialog)
    ...
    CALL DLGSETTITLE(mydialog, "New Title")
    ...

Parent topic: Dialog Library Routines

## See Also

DLGINIT
DLGMODAL
DLGMODELESS