简体   繁体   English

Inno Setup 中的圆形进度条

[英]Circular progress bar in Inno Setup

I'm searching for an circular progress indication for Inno Setup, like this one on jQuery: http://anthonyterrien.com/knob/我正在寻找 Inno Setup 的循环进度指示,就像 jQuery 上的这个: http : //anthonyterrien.com/knob/

在此处输入图片说明

Is there something similar or is it possible to do this in Inno Setup?有没有类似的东西,或者可以在 Inno Setup 中做到这一点吗?

I want to set the percentage manually, it shouldn't be a spinning circle or something like that...我想手动设置百分比,它不应该是一个旋转的圆圈或类似的东西......

Without an external DLL library, all you can do is to use TBitmapImage control and draw the progress bar manually.在没有外部DLL库的情况下,您所能做的就是使用TBitmapImage控件并手动绘制进度条。

For an example of painting on TBitmapImage , see How do I change the color of my progress bar in Inno Setup?有关在TBitmapImage上绘画的示例,请参阅如何在 Inno Setup 中更改进度条的颜色?


An easier option is to prepare set of progress images (10%, 20%, 30%, etc) in advance and load respective image as needed.一个更简单的选择是提前准备一组进度图像(10%、20%、30% 等)并根据需要加载相应的图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM