Indigo Rose Software
  #1  
Old 12-10-2006
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
Gradient Progress

This example shows how to have a progressbar with a gradient effect on it. The border for the progressbar is formed by 4 black images that surrounds the image that has the gradient effect. The image file that has the gradient effect has 200 pixels of width, but in the program the image object has 0 pixels of width and a timer continuasly increases the width of the image object by 1 pixel, causing the illusion of an engradiented progressbar.
Attached Files
File Type: apz Gradient Progress.apz (9.9 KB, 660 views)
Reply With Quote
  #2  
Old 12-11-2006
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
I would like to correct something I said myself on my previous post, the image file's width isn't 200 pixels, it's 100.
In this example, since the width of the image object would reach only 100, each collum of pixels that is shown could represent 1%. If you make another image with a gradient effect and make the width 200 and raise the image object's width limit to 200, then every 2 collums of pixels shown on your window would represent 1%. If the width of the image file and the limit of the image object's width was 300, then evrey 3 collums of pixels would represent 1%, and so on...

Last edited by Daniel TM; 12-11-2006 at 02:15 PM.
Reply With Quote
  #3  
Old 12-28-2006
odracir's Avatar
odracir odracir is offline
Forum Member
 
Join Date: Aug 2006
Posts: 13
really nice!!!

but is it possible to create the gradient with this picture???

what is the code to do with installing an .exe file??

i just searched this........
Attached Images
File Type: jpg gradient progress.JPG (12.8 KB, 252 views)
Reply With Quote
  #4  
Old 12-28-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
it looks like all they are doing is stretching a gradient image file. Make the image file with the gradient you want and then stretch it (Image.SetSize) as your item progresses.

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #5  
Old 12-29-2006
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
It doesn't stretch anything, it just sets the width to it's currrent width + 1.
By doing so, the image object just get's bigger shoing the rest of the image file giving the ilusion of a gradient progress bar.
Make sure to make the border seperately. because if the border of the progress bar is in the gradient image then the border will not be shown completely untill the image object get's bigg enough to show the whole border.
In my example I made four image objects that stretch a 1x1 black .bmp giving the illusion of a border while the final image that is surrounded by the border is the image object that contains the image of the gradient

Last edited by Daniel TM; 12-29-2006 at 04:45 AM.
Reply With Quote
  #6  
Old 12-29-2006
odracir's Avatar
odracir odracir is offline
Forum Member
 
Join Date: Aug 2006
Posts: 13
bot is it possible when installing an .exe file, the gradient starts to move like a progressbar?? and is it possible to gives the % over the gradient progress??

how does the code look like then???

the real progressbar in AMS6 is just crappy looking....

i realy like your style....


the attachment bove is from an installer i found, so is it possible to make it the same?? i really like that one !!

Nice work and keep up the good work !!!

regards ricardo
Reply With Quote
  #7  
Old 01-13-2007
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
Sorry I took so long to reply, Ricardo.
Yes, it is possible to make a program that copies a .exe file to the computer and move the gradient progress to show how much has been copied, it is also possible to show the percentage on top of the gradient progress. I changed Gradient Progress a bit so that it shows the percentage on top of the gradient progress. One question, are you Brazilian? Ricardo is a Brazilian name, I'm from Brazil so if you want to speak Portuguese with me, it's OK.
This post comes with an attachment - the updated version of Gradient Progress.
Note: I slowed down the timer - To put it simpler, now the gradient progress takes longer to reach 100%

Last edited by Daniel TM; 01-13-2007 at 05:37 PM.
Reply With Quote
  #8  
Old 01-15-2007
odracir's Avatar
odracir odracir is offline
Forum Member
 
Join Date: Aug 2006
Posts: 13
sorry, but i'm from holland, no portugese, sorry!!
are you working on the attachment or am i blind???
or is it updated above?

regards ricardo
Reply With Quote
  #9  
Old 01-15-2007
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
Woops, sorry bout that, I forgot to attach the updated version. Here it is.
Attached Files
File Type: apz Gradient Progress.apz (10.1 KB, 314 views)
Reply With Quote
  #10  
Old 01-16-2007
odracir's Avatar
odracir odracir is offline
Forum Member
 
Join Date: Aug 2006
Posts: 13
nice the percentage, but can you give me an example with listbox, on click install exe, with the gradient?? im still a noob and im learning to see how the codes are........

regards ricardo
Reply With Quote
  #11  
Old 03-02-2007
djmoh djmoh is offline
Forum Member
 
Join Date: Feb 2007
Posts: 46
Talking NEW user ...

Quote:
Originally Posted by odracir View Post
sorry, but i'm from holland
heyy I am from holland too ...
do you have msn

(heb je msn ... zo dat we info kunnen delen ?)

I have 2 websites ...
http://www.dj-moh.nl (still working on it)
http://www.darkclark.nl
(Counter strike Source clan ... I have programmed al little bit on my
CS:S server ... and it was fun .. i needed somthing else then i found
Autoplay media studio ...)

This is Great stuff ....
I am new as you know ..
Could use some extra examples ..

Thanks mat for creating examples ...
Keep u the good job !!

-=DJ_MOH=-
Reply With Quote
  #12  
Old 03-05-2007
Daniel TM's Avatar
Daniel TM Daniel TM is offline
Forum Member
 
Join Date: Oct 2005
Location: Brazil - Belo Horizonte
Posts: 118
[TJ Tigg]
Hey, now I see what you mean, the image is being stretched, I just didn't program it to do so and I also didn't set any "Stretch" property to true or anything like that so I didn't think that the AMS60 runtime engine would automatically stretch the graphic once it's size changed.
==========
[Ricardo]
I am not understanding what you are trying to tell me, do you want to make an installer for your program, or do you want to remake an installer? Let's say you created program X. You can make your own personalized installer for program X, where a gradient progress bar represents how much has been installed. If you downloaded an installer for another program (Like Firefox installer program) then you can't create a program that uses that installer to install Firefox, it would just be another installer for Firefox.

Later
Reply With Quote
  #13  
Old 03-19-2007
odracir's Avatar
odracir odracir is offline
Forum Member
 
Join Date: Aug 2006
Posts: 13
for a new, program that is zipped as SFX so,what i mean was if i click in the listbox : program X yopure gradient tell me how much % its installing


regards ric
Reply With Quote
  #14  
Old 04-06-2007
medina07's Avatar
medina07 medina07 is offline
Forum Member
 
Join Date: Feb 2006
Location: Japan
Posts: 66
Gradient Progress to Volume Control

It is possible to apply the Gradient Progress to the volume control or audio length?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen: Download File Progress Brett Setup Factory 8.0 Examples 13 01-13-2007 10:24 PM
Progress bar while executing batch file StealthShadow Setup Factory 7.0 Discussion 3 10-25-2005 10:59 PM
Progress Bar... tealmad Setup Factory 7.0 Discussion 14 02-05-2005 01:51 PM
Show progress of zip install Jonas DK AutoPlay Media Studio 5.0 3 07-25-2004 06:57 PM
Spotlight: Progress Meter Object Plugin Desmond AutoPlay Media Studio 5.0 0 03-10-2004 04:39 PM


All times are GMT -6. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software