IAdeUICallbacks::ShowProgressBar

Revision as of 03:39, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "«text»是Analytica在精度条窗口中显示的文本。")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

long IAdeUICallbacks::ShowProgressBar([in] string title, [in] string text, [in] double p)

在计算ShowProgressBar()函数时调用。通过执行此方法显示进度条。

When this is called, you should make a progress bar visible if none is currently visible, set the progress indicator and text, and return immediately. Optionally, you can wait for the user to press OK when «p» is exactly 1.0. You code should leave the progress bar visible. This function will be repeatedly called to update the progress. When the computation is finally complete, the HideProgressBar() method will be called, at which point your code can hide the progress bar.

参 数

«title»参数指明Analytica 将在进度条对话窗口中的标题栏中显示什么标题。

«text»是Analytica在精度条窗口中显示的文本。

The «p» parameter is a fractional number between 0 and 1, indicating the percent complete that should be depicted on the progress bar.

返回值

The function should return True if the user has requested the computation to be cancelled, or False otherwise.

示例

另请参考

Comments


You are not allowed to post comments.