> ## 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 は、FlexiCapture の field がフォーカスを失う前に実行され、スクリプトから NewActiveControl を使って次にアクティブになる field を変更できます。

<div id="when-it-is-launched">
  ## 起動されるタイミング
</div>

スクリプトは、field がアクティブでなくなる前に実行されます。

次にアクティブ化される field が、入力パラメーターとしてスクリプトに渡されます。このパラメーターは変更できます。

<div id="parameters">
  ## パラメーター
</div>

<table width="100%"><thead><tr><th><p><strong>名前</strong></p></th><th><p><strong>型</strong></p></th><th><p><strong>アクセス</strong></p></th><th><p><strong>説明</strong></p></th></tr></thead><tbody><tr><td><p>Context</p></td><td><p><a href="/ja/flexi-capture/appendix/scripts-shell/ifieldcontrol">IFieldControl</a></p></td><td><p>読み取り/書き込み</p></td><td><p>非アクティブ化される field</p></td></tr><tr><td><p>NewActiveControl</p></td><td><p><a href="/ja/flexi-capture/appendix/scripts-shell/iboxedfieldcontrol">IBoxedFieldControl</a></p></td><td><p>読み取り/書き込み</p></td><td><p>アクティブ化される field。</p><p><strong>注: </strong> アクティブ化される field が別のドキュメントに属している場合、このプロパティの値は null になります。</p></td></tr><tr><td><p>WasModified</p></td><td><p>bool</p></td><td><p>読み取り/書き込み</p></td><td><p>field が変更されたかどうかを示します</p></td></tr></tbody></table>
