GhostFill Tips & Tricks

Tips, tricks and solutions with the GhostFill document assembly platform
Monday, August 28, 2006

Ghostfill Create a progress bar


There are times where you wish to give the users information that progress is being made during an assembly, or some indication of where they are.  GhostFill has a progress bar utility. It can be invoked and then controlled by a script. That script is up to you. 

Article Content

%[x = dialogs.Utils.CreateProgressBar]
%[x.title = “This is my Title"]
%[x.show]

%[x.progress =0.1]
%[x.progress =0.2]
%[x.progress =0.3]
%[x.progress =0.4]
%[x.progress =0.5]
%[x.progress =0.6]
%[x.progress =0.7]
%[x.progress =0.8]
%[x.progress =0.9]
%[x.progress =1]
%[x.hide]

Extended Thoughts:

This code illustrates how to create and control the progress bar. It is up to you to create the rules for each of the progress codes. It could be a clock timer, or it could be just some condition.

Posted by Admin
Page 1 of 1 pages

Statistics

Page Views: 1565
Page rendered in 0.4917 seconds
34 queries executed
Total Entries: 79
Most Recent Entry: 04/01/2008 04:26 pm
Total Members: 5
Total Logged in members: 0
Total guests: 11
Most Recent Visitor on: 05/13/2008 03:41 am
Most visitors ever: 87 on 11/07/2006 02:22 pm