> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# On Field Control Deactivate

> On Field Control Deactivate wird ausgeführt, bevor ein FlexiCapture-Feld den Fokus verliert, und ermöglicht es Ihrem Skript, über NewActiveControl festzulegen, welches Feld als Nächstes aktiv wird.

<div id="when-it-is-launched">
  ## Wann es ausgeführt wird
</div>

Das Skript wird ausgeführt, bevor ein Feld inaktiv wird.

Das Feld, das als Nächstes aktiviert wird, wird als Eingabeparameter an das Skript übergeben. Dieser Parameter kann geändert werden.

<div id="parameters">
  ## Parameter
</div>

<table width="100%"><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Zugriff</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr></thead><tbody><tr><td><p>Context</p></td><td><p><a href="/de/flexi-capture/appendix/scripts-shell/ifieldcontrol">IFieldControl</a></p></td><td><p>Lese-/Schreibzugriff</p></td><td><p>Das Feld, das deaktiviert wird</p></td></tr><tr><td><p>NewActiveControl</p></td><td><p><a href="/de/flexi-capture/appendix/scripts-shell/iboxedfieldcontrol">IBoxedFieldControl</a></p></td><td><p>Lese-/Schreibzugriff</p></td><td><p>Das Feld, das aktiviert wird.</p><p><strong>Hinweis: </strong>Die Eigenschaft hat den Wert null, wenn das Feld, das aktiviert werden soll, zu einem anderen Dokument gehört.</p></td></tr><tr><td><p>WasModified</p></td><td><p>bool</p></td><td><p>Lese-/Schreibzugriff</p></td><td><p>Gibt an, ob das Feld geändert wurde.</p></td></tr></tbody></table>
