progress-bar

What is the best way of showing progress on an Ajax call?

别来无恙 提交于 2019-12-27 17:01:10
问题 I have an Ajax call that updates 5,000 records in a database so this takes a lot of time. I have an Ajax "Loading image" showing that something is happening, but I am looking for a better way to show "Updating 50 of 5000 . . .", "Updating 200 of 5000", or something like that. What is the best way to do something like this in Ajax / jQuery without doing 5000 different posts? 回答1: The best I think is using Comet. In Comet-style applications, the server can essentially push data to the client

How to change color in circular progress bar?

烂漫一生 提交于 2019-12-27 12:39:58
问题 I am using circular progress bar on Android. I wish to change the color of this. I am using "?android:attr/progressBarStyleLargeInverse" style. So how to change the color of progress bar. How to custom the style? Furthermore, what is the definition of the style? 回答1: In the res/drawable folder, put this: progress.xml <?xml version="1.0" encoding="utf-8"?> <rotate xmlns:android="http://schemas.android.com/apk/res/android" android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0"

How to change color in circular progress bar?

核能气质少年 提交于 2019-12-27 12:37:57
问题 I am using circular progress bar on Android. I wish to change the color of this. I am using "?android:attr/progressBarStyleLargeInverse" style. So how to change the color of progress bar. How to custom the style? Furthermore, what is the definition of the style? 回答1: In the res/drawable folder, put this: progress.xml <?xml version="1.0" encoding="utf-8"?> <rotate xmlns:android="http://schemas.android.com/apk/res/android" android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0"

Windows Forms ProgressBar: Easiest way to start/stop marquee?

懵懂的女人 提交于 2019-12-27 12:19:12
问题 I am using C# and Windows Forms. I have a normal progress bar working fine in the program, but now I have another operation where the duration cannot be easily calculated. I would like to display a progress bar but don't know the best way to start/stop the scrolling marquee. I was hoping for something as simple as setting the marquee speed and then having a start() and stop() but it doesn't appear to be that simple. Do I have to run an empty loop in the background? How do I best do this?

Progressbar color issue, strange acting

ぃ、小莉子 提交于 2019-12-26 03:54:46
问题 This is a screen of my progressbar. Well not always but sometimes it acting strange like this. I mean instead to be in one color it get confused like this on the picture. I do not do anything special I just update the progress... Does anyone have this kind of experience with progressbars ? I must mention that this progressbar has 3dip for layout_height property 回答1: I made factory data reset on the phone and that fix my problem 回答2: Well afrer setProgress(something); I also done invalidate();

HTML5 progress bar animation

☆樱花仙子☆ 提交于 2019-12-25 18:09:35
问题 I am using an HTML5 progress bar in my app. I would like to know if there is any way to control the animation speed of the progress bar. I want to show the progress after a certain interval, which I did using the setTimeout method of javascript so that it sets the value after the screen has been rendered. But the animation is too fast. Is there any way to control it? Thanks. 回答1: I'm not sure I understand what you mean by "animation" but here is an example of using the progress bar while

Increase size of Dots in Progress bar windows phone 8

微笑、不失礼 提交于 2019-12-25 17:14:11
问题 I wanted to display Progress bar Ellipse more that its Default size like this : increase height of indeterminate progress dot size. I have gone through goggling and many Questions and Post of blogs but could not find any Solution Already seen this also but not working in my case: The high performance ProgressBar for Windows Phone (“PerformanceProgressBar”) A thicker ProgressBar in WP7, how? 回答1: If you don't mind a few Overrides :) I've heavily modified most of the common controls to get the

Android SeekBar [ProgressBar] style - how to set custom background drawable

你离开我真会死。 提交于 2019-12-25 11:48:08
问题 I want to make seekbar like this: http://img687.imageshack.us/img687/2371/volumec.png The thing is, that I ve already found customizing seekbars over here http://groups.google.com/group/android-developers/browse _thread/thread/be3fed0b4f766cc?pli=1 but the problem is, that I need **those gaps** between in my drawable and I don t know how to manage that. Would you be so kind some of you, I`ll appreciate it very much. Thanks in advance, wishing all the best! this is my resources style.xml file

I cant update the progressbar via $.ajax on form submit

送分小仙女□ 提交于 2019-12-25 09:27:43
问题 After the form submits, the progressbar appears, and the getProgress function is called. getProgress check a php file (which uses the uploadprogress apache mod to get the current upload progress) and returns a number from 0 to 100 (which means complete). OK, The idea is that getProgress is self-executed if the number returned is not 100. Otherwise, the form continues to upload.php where the file is manipulated. THIS IS WHAT IM LOOKING FOR: http://screenr.com/ByG <- video. Here is the HTML

Easy way to modify progress bar in existing Delphi code?

喜欢而已 提交于 2019-12-25 09:03:46
问题 I am using demo code which compresses all files in folder. However, it's progress bar displays not total progress, but progress for every file. Is there any easy way to modify code so progress bar would display total progress and not progress for every single file? procedure DoProgress(Sender: TObject; Position, Total: Integer); procedure DoCompressFile(Sender: TObject; const Filename: string); .... procedure TJvZLibMultipleMainForm.DoCompressFile(Sender:TObject;const Filename:string); begin