Previous Topic

Next Topic

CreateCustomWindowForm - MaxBasic Function

CreateCustomWindowForm(FormName: String): Object

Creates a User defined instance of the form FormName as a floating window form. For example:

CreateCustomWindowForm function syntax has these named arguments:

Parameter

Description

FormName

Required. Name of custom form to create.

  Form = CreateCustomWindowForm("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:

  CreateCustomWindowForm("TestForm.pfd", "Parameter1", 0, Date)

Inside TestForm.pfd the arguments are accessed using the ScriptArgs function.

See Also

Objects Functions

Book Contents

Book Index