The following plugin displays a messagebox that tells whether there is a check mark next to Estimate means and intercepts in the Analysis Properties window.
Imports Microsoft.VisualBasic
Imports Amos
Imports Amos.pd
<System.ComponentModel.Composition.Export(GetType(IPlugin))>
Public Class CustomCode
Implements IPlugin
Public Function Mainsub() As Integer Implements IPlugin.Mainsub
If pd.GetCheckBox("AnalysisPropertiesForm", "MeansInterceptsCheck").Checked Then
MsgBox("The checkbox is checked.")
Else
MsgBox("The checkbox is not checked.")
End If
End Function
Public Function Name() As String Implements IPlugin.Name
End Function
Public Function Description() As String Implements IPlugin.Description
End Function
End Class