SECAAppObj::NewForm

shortSECAAppObj::NewForm(void)

Scriptable interface to create a new form

Defined in: AppObj.cpp

Return Value

error/success code

Comments

This function is provided as a scriptable interface to be accessed directly by your ActiveScript scripts. Typically a script would use code like the following to create a new form:

Sub NewFormButton_Click ' The following code will grab a hold of the registered MFC SECAAppObj object dim app set app =LoadForm.GetApp

' We can now invoke AFX_DISPATCH exported methods of this class ' The NewForm method can be used to create a new top level, scriptable form app.NewForm End Sub