GaryFrost Posted July 16, 2005 Share Posted July 16, 2005 (edited) need beta, release version won't work with transparent label. Edit: Now supports multiple progress bars Edit: Added params Edit: Added Inverted colors Edit: Added _Progress_Delete Edit: fixed bug in delete Edit: Should work correctly with XP Themes now please post comments/suggestions/improvments/bugs GaryProgress_Test.au3Progress.au3 Edited August 26, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
layer Posted July 16, 2005 Share Posted July 16, 2005 Very nice FootbaG Link to comment Share on other sites More sharing options...
GaryFrost Posted July 16, 2005 Author Share Posted July 16, 2005 Thanks SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Zedna Posted July 17, 2005 Share Posted July 17, 2005 @gafrost Nice I knew about this kind of solution but what is for the GUICtrlSetPos() stuff in Progress.au3? By me it's unnecessary. Thanks Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 Just keeping the number as close to center as possible. Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Lazycat Posted July 17, 2005 Share Posted July 17, 2005 Nice. But how you think - it's possible to make similar progress with Autoit like in the other programs, which will inverse font color when needed? I'm tried to do this, but still no result... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 thought about that also, no easy way i can think of in auto it as of yet. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Lazycat Posted July 17, 2005 Share Posted July 17, 2005 Most likely... I seen source of Delphi "gauge" control, but it uses canvas property for construct image, so this is not applicable to Autoit. Not found any example of such things in the C/VB... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 (edited) Most likely... I seen source of Delphi "gauge" control, but it uses canvas property for construct image, so this is not applicable to Autoit. Not found any example of such things in the C/VB...<{POST_SNAPBACK}>Uploaded new Progress.au3 file see 1st postEdit: feel free to make improvements, i know it needs some, just haven't taken the time to do them, like pass more params, colors, styles, extended styles...etc...@Zedna, I meant to move the percentage, had the progress bar itself moving, no matter all that's fixed with the inverse color of percentage when the progress reaches the text.Gary Edited July 22, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Lazycat Posted July 17, 2005 Share Posted July 17, 2005 Nice Not exactly what I want, but when progress will change fast enough, this not very noticeable. And maybe realizing this effect exactly not worth effort for it. Good work! Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
Helge Posted July 17, 2005 Share Posted July 17, 2005 Very nice, Gary !I`ve actually thought about making something like this, because of theextremely bad one in Windows XP (w/ XP-themes), which I seriously hate ! Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 Very nice, Gary !I`ve actually thought about making something like this, because of theextremely bad one in Windows XP (w/ XP-themes), which I seriously hate !<{POST_SNAPBACK}>You'll find there's a problem with the progress bar in autoit also if you xp themes in use, the smooth doesn't work for one. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jefhal Posted July 17, 2005 Share Posted July 17, 2005 I ran the code with beta 61 and it worked perfectly the first time through. If I run it a second time, all of the percentages come out with a trailing zero. Must be left over from the 100% from the first run as that is the only 3-digit output... ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 (edited) I ran the code with beta 61 and it worked perfectly the first time through. If I run it a second time, all of the percentages come out with a trailing zero. Must be left over from the 100% from the first run as that is the only 3-digit output...<{POST_SNAPBACK}>Thanks, fixed, updated file in 1st post.Gary Edited July 22, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted July 17, 2005 Author Share Posted July 17, 2005 (edited) Update, added params Edit: see 1st post Edited July 22, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted July 18, 2005 Author Share Posted July 18, 2005 (edited) Now supports multiple progress bars Edit: please post comments/suggestions/improvments/bugs Edit: see 1st post for files Gary Edited July 22, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Zedna Posted July 18, 2005 Share Posted July 18, 2005 GUICtrlSetPos() stuff in Progress.au3Just keeping the number as close to center as possible.Gary<{POST_SNAPBACK}>This can be done very simply by:1) setting position and width of label same as progress have2) setting style of label to $SS_CENTER Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
GaryFrost Posted July 18, 2005 Author Share Posted July 18, 2005 GUICtrlSetPos() stuff in Progress.au3This can be done very simply by:1) setting position and width of label same as progress have2) setting style of label to $SS_CENTER <{POST_SNAPBACK}>As I said in previous post this is a mute point, being there is now 4 labels instead of one with the new script.Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted July 19, 2005 Share Posted July 19, 2005 lately i'm not sure of my autoit stuff I only get the normal "green" colors... otherwise it works What gives????? 8( Link to comment Share on other sites More sharing options...
GaryFrost Posted July 19, 2005 Author Share Posted July 19, 2005 Try the example in the help file, should be two different colored blue progress bars. See if that works correctly for you. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now