Caption property


Available for Window, MDIWindow and DialogBox objects.

Read/Write only at design time

Specifies whether a window object has a caption (title bar), that is, the bar on the top of the window. It can be one of the following values:

TRUE    Window object has a caption (default).
FALSE  Window object has no caption.


REMARKS: A caption means a title bar which may have text and is used to move the window across the screen. It does not mean the text inside the title bar (see the
Text property).