ERRCODE TFormer_AddNewForm ( HTFORM  pInstance,
LPCSTR  pszProjectName,
LPCSTR  pszFormName,
LPCSTR  pszFormDesc,
LPCSTR  pszFormDesign,
LPCSTR  pszFormFile 
)

Adds a new Form to the given Project.

Returns:
- ErrOk (0) in case of success
- Non-zero if error occurred
Parameters:
[in] pInstance The TFORMer-Instance provided by a previous call to TFormer_Init.
[in] pszProjectName The name of the Project in the Repository.
[in] pszFormName The name of the FormLayout to be created.
[in] pszFormDesc The (optional) description of the FormLayout. May be empty or NULL.
[in] pszFormDesign Design-tool for editing this FormLayout (not used anymore).
[in] pszFormFile (optional) Template file for new FormLayout.
Remarks:
The name of the FormLayout must follow the Naming Rules.

Adds a new FormLayout to the Project specified by pszProjectName and creates the corresponding Project file. If pszFormFile is empty, this function creates an empty FormLayout.


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8