0
1

More than 5 years have passed since last update.

c++ builder XE4, 10.2 Tokyo > TProgressBar > 処理中の表示 > MarqueeInterval: 100 / Style: pbstMarquee / Step: 10

Last updated at Posted at 2015-10-12
動作確認
C++ Builder XE4
Rad Studio 10.2 Tokyo Update 2 (追記: 2017/12/27)

何かの処理中というのを表示する方法をTProgressBarを使って行う。

以下を設定する。

MarqueeInterval : 100
Style : pbstMarquee
Step : 10

progressBar.png

継続的な処理をしているイメージでの速度にしている。

進捗の状況を止める方法がよくわからないので、処理停止時にはVisible=false としている。



(追記 2015/12/04)

停止するには Style : pbstNormal とすればよい。

// Stop
ProgressBar1->Style = pbstNormal;

// Start
ProgressBar1->Style = pbstMarquee;



(追記 2016/01/15)

進捗具合の表示速度はMarqueeIntervalを変更する。

値が大きいほどゆっくりになる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1