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. 

%[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]

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: 7260
Page rendered in 0.2207 seconds
34 queries executed
Total Entries: 167
Most Recent Entry: 07/23/2010 04:36 pm
Total Members: 5
Total Logged in members: 0
Total guests: 16
Most Recent Visitor on: 09/03/2010 07:27 am
Most visitors ever: 33 on 09/02/2010 03:50 pm