Language Reference Guide : C. Generated User Classes : Indicator_Manager User Class : UpdateGaugeValue Method
 
Share this page          
UpdateGaugeValue Method
The UpdateGaugeValue method updates the value displayed by the indicator.
This method has the following syntax:
Indicator_Manager.UpdateGaugeValue(value = float)
This method has the following parameter:
value
Specifies the value to be displayed
For example, to update the current value displayed by the indicator as your frame executes, call the UpdateGaugeValue method for the field as follows:
declare
     percentComplete = float;
enddeclare
begin
     percentComplete = rowsProcessed/totalRows;
     myGauge.UpdateGaugeValue(value=percentComplete);
end