|
|
Line 1: |
Line 1: |
| {{Template:APIClass|ALTAEvents Class|ALTAEvents}} | | {{Template:API}}{{Template:APIBreadcrumb|.[[ALTAEvents Class|ALTAEvents]]}} |
| {{Template:WeibullEvents.ShowCalculationProgress.Cmt}} | | {{Template:InProgress}} |
| | |
| == Syntax ==
| |
| <ul><li>
| |
| ShowCalculationProgress(
| |
| {{APIName|sender}}
| |
| {{APIPrefix|As}}
| |
| {{APIName|[[ALTADataSet Class|ALTADataSet]]}})
| |
| </li></ul>
| |
| | |
| Parameters
| |
| :''sender'': An [[ALTADataSet Class|ALTADataSet]] object.
| |
| | |
| == Usage Example ==
| |
| This example demonstrates how to show the calculation progress display.
| |
| {{APIComment|'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)
| |
| {{APIComment|'<Additional overridden code here.>}}
| |
| End Sub
| |
| End Class
| |
|
| |
| {{APIComment|'Set the new Events class.}}
| |
| ADS.Events = New myEvents
| |
|
| |
| {{APIComment|'Show calculation progress.}}
| |
| ADS.Events.ShowCalculationProgress(ADS)
| |
Revision as of 16:05, 6 May 2016