Callback on immediatly change of Settings in the Settings form.
Namespace: ExpSuiteAssembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0
Syntax
Visual Basic |
---|
Public Shared Sub OnChange ( _ lExpType As Integer _ ) |
Parameters
- lExpType
- Type: System..::..Int32
[Missing <param name="lExpType"/> documentation for "M:ExpSuite.EventsSettings.OnChange(System.Int32)"]
Remarks
OnChange callback will be executed on change of a value in Settings dialog.
A click on OK is not required to execute OnChange - e.g. a text box loses its focus and
OnChange will be executed immediatly.
Examples
The global variable gvarCallbackPar1 can be used to determine the current experiment type, which may have changed.
I propose following sub:
CopyVB.NET
Public Sub OnChange() Dim lExpType As Long lExpType = CLng(gvarCallbackPar1) ... put your code here ... End Sub