Partager via


ActiveControl Property

References the active control on an object. Not available at design time; read-only at run time.

Object.ActiveControl.Property[ = Value]

Property Values

  • Property
    The property to return or set.
  • Value
    The current or new property value.

Remarks

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.

See Also

ActiveForm Property

Applies To: Container Object | Form Object | Page Object | _SCREEN | ToolBar Object