PDA

View Full Version : activate Progress bar.


Mr.Said
02-03-2008, 02:28 PM
Hello !

the question is:

let us have 20 pages in the project.
how can I make progress bar get increased (fullfilled ) by jumping to next pages so it ll be completelly used till the last page ( no 20).

"the gress color will be increased and the last page will be full"

thanks alot

longedge
02-03-2008, 03:02 PM
Just off the top of my head, I'd say set a global variable in the on close event of each page. Have your progress bar on each page and in the on show or pre load set the position by reference to that variable.

RizlaUK
02-03-2008, 03:05 PM
Heres a easy way:

put a prograss bar on each page and set its min value to 1 and its max value to 20 (for each prograss bar)

now on page show of each page you put "Progress.SetCurrentPos("ObjectName",1-20);" where "1-20" would be the number of the page

now as you step through the pages the progress bar will go up/down according to what page is shown