Glossary Visual Basic / Term
When a form is referenced, ActiveControl specifies the control that would have the focus if the referenced form were active. Not available at design time; read-only at run time.
Each form can have an active control (Form.ActiveControl), regardless of whether or not the form is active. You can write code that manipulates the active control on each form in your application even when the form is not the active form.
Permanent link ActiveControl - Creation date 2020-06-07