You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

サーバーからのデータをダウンロード中に起動されます。
データ要求 (PRIM_WEB.DataRequest) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Loaded

*Input

整数

ダウンロードされたデータ量(バイト)

Total

*Input

整数

ダウンロードするデータのトータル量(バイト)

Progress

*Input

整数

ダウンロード完成率(パーセント)

詳細


Downloading イベントは、データ転送中に繰り返し起動し、ダウンロードの進捗の詳細を提供します。


次の例では、ダウンロードのルーチンが呼び出されています。このイベントが起動されるたびに、プログレス バーが更新されています。
Mthroutine Name(Upload)
Define_Map For(*Input) Class(#Prim_web.File) Name(#File) Pass(*By_Reference)
Define_Com Class(#Xxxxx.Yyyyyy) Name(#FileDownload)
#FileDownload.ExecuteAsync( #File.Blob #File.Name )
#ProgressBar.Percentage := 0
Evtroutine Handling(#FileDownload.Downloading) Progress(#Progress)
#ProgressBar.Percentage := #Progress
Endroutine
Evtroutine Handling(#FileDownload.Completed)

  • No labels