PROGRESS Command

PROGRESS — Visual progress indicator.

Synopsis

PROGRESS BOUNCE progressbar_widget_name { STEP step_ref | UPDATE }

PROGRESS FRACTION progressbar_widget_name VALUE fraction_ref

PROGRESS LABEL progressbar_widget_name VALUE data_ref [data_ref...]

Introduction

The PROGRESS command instructs the progress bar screen widget to provide a visual clue towards the user that some (long running) 4GL logic is being executed. It can be used in a percentage (FRACTION) and an activity (BOUNCE) mode.

Arguments

step_ref

Any data reference or numeric value between 0.00 and 1.00. Every time an UPDATE is triggered, the bouncing block in in the progress bar will move with this fraction.

fraction_ref

Any data reference or numeric value between 0.00 and 1.00. Every time an FRACTION is triggered, the progress bar will fill this fraction of the bar.

data_ref

Any single data reference, including hard coded strings and numeric values to be displayed in the progress bar.

Example

. . .
. . .
FOR L-Count = 1 TO 10
	LET L-Fraction = L-Count / 10.00
	PROGRESS FRACTION pb1 VALUE L-Fraction
	. . .
	. . .
ENDFOR
. . .
. . .

Related Commands

None.