How You Can Customize a Gauge Field
At runtime, the value of the gauge is initialized to its minimum value. To update the current value of the gauge as your frame executes, call the UpdateGaugeValue method for the field. For example:
declare
PercentComplete = float;
enddeclare
{
PercentComplete = RowsProcessed / TotalRows;
MyGauge.UpdateGaugeValue(value =
PercentComplete);
}