References the active control on an object. Not available at design time; read-only at run time.
Object.ActiveControl.Property[ = Value]
- The property to return or set.
- The current or new property value.
This property is not available if all controls on the specified object are invisible or disabled.
If the object is active, the ActiveControl property references the control that has the focus. If the object is not active, an error occurs.