プロジェクトを閉じる際に

起動した時

このスクリプトは、プロジェクトが閉じているときと、照会ダイアログを表示する前に起動します。ユーザーが操作を確認してから続ける必要がある場合、質問ボックスが表示されます。

  • もし、CanClose.Valueプロパティがfalseだと、メインウィンドウがそのまま表示されます。
  • もし、CanClose.Valueプロパティがtrueだと、メインウィンドウが閉じます。

既定では、CanCloseパラメータの値はtrue

パラメータ/引数

名前 タイプ アクセス 説明
CanClose IBoolean 読み取り/書き込み メインウィンドウを閉じるか指定します
Context IMainWindow 読み取り/書き込み メインウィンドウ

25.05.2023 7:55:11

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.