CreateCustomForm(FormName: String): Object
Creates a User defined instance of the form FormName as an MDI child window.
CreateCustomForm function syntax has these named arguments:
Parameter |
Description |
FormName |
Required. Name of custom form to create. |
For example:
Form = CreateCustomForm("TestForm.pfd")
To open the custom form in Form Designer, place the cursor in the FormName, and click Ctrl+Enter, or right click to open the Context Menu, then select Open Source.
This function accepts an infinite number of arguments after the required parameter.
For example:
CreateCustomForm("TestForm.pfd", "Parameter1", 0, Date)
Inside TestForm.pfd the arguments are accessed using the ScriptArgs function.