InheritWinProps

Form instance property of a popup form that determines whether the it inherits the window properties that have been explicitly defined for the form. It can be set in ProcScript using newinstance. Valid values: True or False (default).

InheritWinProps= "true" | "false"

Value Description
False The form's window properties are set to the defaults for a popup window. For more information, see Popup Window.
True The window properties that have been explicitly set for the form are inherited.

Description

This property can only be set when using the newinstance ProcScript statement to create a component instance in a popup window.

InheritWinProps

For example, the following codes activates a form in a popup window to the right of the field, and inherits other window properties:

;DETAIL trigger of FLD1
newinstance DETAIL_FRM, "Details", "windowtype=popup;InheritWinProps=true;position=BOTTOMRIGHT_UPRIGHT"
activate "Details"

If DETAIL_FRM is defined as a normal form, with the Caption and Close properties selected, the popup form will be displayed with a title bar that has a close button.

Popup form with inherited properties

Applies To