ActiveForm

This property returns the form that is the active window.

Syntax

screen.ActiveForm

Parameters

screen
Reference to the Screen object.

Remarks

The ActiveForm property is read-only; it is unavailable at design time. A form is the active form when a control on the form has the focus.