ALTADataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 14: Line 14:


== Usage Example ==
== Usage Example ==
 
This example demonstrates how to show the calculation progress display.
  {{APIComment|'Overrides requested. Create a new class, inherit WeibullEvents,}}
  {{APIComment|'Overrides requested. Create a new class, inherit WeibullEvents,}}
  {{APIComment|'and set the dataset's events.}}
  {{APIComment|'and set the dataset's events.}}

Revision as of 22:19, 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

This example demonstrates how to show the calculation progress display.

 '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)