Caption

Window property that determines whether the form window has a title bar. Valid values: True (default) or False.

Value Description
True The form is displayed with a title bar. If a value is provided for the Title form property, this value is displayed in the title bar. Otherwise, the Name is displayed. Default if Window Type is Normal, Primary, Secondary, or Dialog.
False No title bar is displayed, and the System Menu, Iconize, Maximize, and Close properties are also disabled. Default if Window Type is Contained or Popup.

Usage

Dynamic? No
Dependencies: Window Type, Iconize, Maximize, and Close

Description

When a form is activated as a popup window, the Caption property is not applied. If the form is instantiated with InheritWinProps=True, the Caption property is applied only if it has been explicitly set to true.

Related Topics