ActiveForm Property

Applies To   See Also

References the active Form object in a form set or the _SCREEN object. Not available at design time; read-only at run time.

Syntax

Object.ActiveForm.Property [ = Setting]

-or-

Object.ActiveForm.Method

Settings

Property

Specifies any property of the active form contained in the form set; for example, the Caption property.

Setting

The existing or new setting of the Property.

Method

Specifies any method of the active form contained in the form set; for example, the Move method.

Remarks

If the containing FormSet object is active, ActiveForm references the Form object that has the focus. If the containing FormSet object is not active, an error occurs.

Use the ActiveForm property to access the active Form object's properties and methods.