Difference between revisions of "IAdeUICallbacks::ShowProgressBar/zh"
(Created page with " «p»参数是一个位于0和1之间的分数,说明精度条上应该描绘的完成百分比。") |
(Created page with "如果用户已经请求取消计算,该函数将返回'''True''',否则返回'''False'''。") |
||
Line 18: | Line 18: | ||
== 返回值 == | == 返回值 == | ||
− | + | 如果用户已经请求取消计算,该函数将返回'''True''',否则返回'''False'''。 | |
= 示例 = | = 示例 = |
Revision as of 03:41, 27 October 2015
ADE User Guide > ADE Server Class Reference > IAdeUICallbacks
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在精度条窗口中显示的文本。
«p»参数是一个位于0和1之间的分数,说明精度条上应该描绘的完成百分比。
返回值
如果用户已经请求取消计算,该函数将返回True,否则返回False。
示例
另请参考
Comments
Enable comment auto-refresher