Description

Creates a new Form object.

Syntax

object.Form( owner )

Parameters

owner - An optional reference to a Form that is to be the owner of this form.

Example

$Form1 = $System.Form() $Form2 = $System.Form($Form1)

Remarks

When a form is owned by another form, it is minimized and closed with the owner form. For example, if Form2 is owned by Form1, if Form1 is closed or minimized, Form2 is also closed or minimized. Owned forms are also never displayed behind their owner form. You can use owned forms for windows such as find and replace windows, which should not disappear when the owner form is selected.

See Also

Applies To: System


The CHM file was converted to HTML by chm2web software.