title: Delphi - TCameraComponent auto focus
body: <p>I'm trying to use auto focus in TCameraComponent with this code :  </p>
  
  <pre><code>CameraComponent.FocusMode := TFocusMode.ContinuousAutoFocus;
  </code></pre>
  
  <p>but I get the following error :  delphi java.lang.runtimeexception: setparameters failed.
  How can I use autofocus. I'm in Delphi XE10 Seattle.
  Thank you for your help.</p>