ALTADataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 21: Line 21:
       Public Overrides Sub ShowCalculationProgress(sender As ALTADataSet)
       Public Overrides Sub ShowCalculationProgress(sender As ALTADataSet)
           MyBase.ShowCalculationProgress(sender)
           MyBase.ShowCalculationProgress(sender)
           ("Additional overridden code here.")
           {{APIComment|'<Additional overridden code here.>}}
       End Sub
       End Sub
   End Class
   End Class

Revision as of 22:00, 5 May 2014


Called when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.

Syntax

Parameters

sender: An ALTADataSet object.

Usage Example

 'Overrides requested. Create a new class, inherit WeibullEvents, 
 'and set the dataset's Events. 
 Private Class myEvents
     Inherits WeibullEvents
     Public Overrides Sub ShowCalculationProgress(sender As ALTADataSet)
         MyBase.ShowCalculationProgress(sender)
          '<Additional overridden code here.> 
     End Sub
 End Class
 
 'Set the new Events class. 
 ADS.Events = New myEvents
 
 'Show calculation progress. 
 ADS.Events.ShowCalculationProgress(ADS)