Displays a new object metadata window.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
Visual Basic |
---|
Public Function ShowPrefilledNewObjectWindow( _ ByVal ParentWindow As Long, _ ByVal Mode As MFObjectWindowMode, _ ByVal ObjectCreationInfo As ObjectCreationInfo, _ Optional ByVal PrefilledPropertyValues As PropertyValues = 0, _ Optional ByVal AccessControlList As AccessControlList = 0 _ ) As ObjectWindowResult |
Value | Description |
---|---|
MFObjectWindowModeEdit | The default edit mode. |
MFObjectWindowModeEditApplicationModal | The object shown in the object window is currently open in the application, too. Does not allow the file name to change. |
MFObjectWindowModeInsert | The default insert mode. |
MFObjectWindowModeInsertSaveAsType | Shows file type selection in the metadata card. The selectable file types can be specified using ObjectCreationInfo. |
MFObjectWindowModeInsertSourceFiles | The source files specified in ObjectCreationInfo are added to the new object. |
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
This method is available only if M-Files API is used in the client interface mode.