0

ファイルのリストをロードして進行状況バーを更新したいのですが、サムの位置を更新するとエラーが発生します。適用ボタンをクリックすると、コードは問題ありません - エラーの原因は何ですか?

-- update the progress bar with current file number
on set_progress new_value
  set the thumbposition of "progress" to new_value
end set_progress
4

1 に答える 1

0

「進行状況」がスクロールバー コントロールであることを指定するだけです。それを次のように参照してください

scrollbar "progress"

ただの代わりに

"progress" 

作業ハンドラーは次のとおりです。

-- update the progress bar on screen
on set_progress new_value
   set the thumbposition of scrollbar "progress" to new_value
end set_progress
于 2013-03-08T11:03:18.070 に答える