9. Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The meter Field Template : How You Can Customize a Meter Field
 
Share this page                  
How You Can Customize a Meter Field
At runtime, the value of the meter is initialized to its initial value. To update the current value of the meter as your frame executes, call the UpdateGaugeValue method for the field. For example:
declare
PercentComplete = float;
enddeclare
{
     PercentComplete = RowsProcessed / TotalRows;
     MyGauge.UpdateGaugeValue(value = PercentComplete);
}