TFormer_AddNewForm
Repository Access · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_AddNewForm(HTFORM pInstance, LPCSTR pszProjectName, LPCSTR pszFormName, LPCSTR pszFormDesc, LPCSTR pszFormDesign, LPCSTR pszFormFile);
Windows only: UTF-16
ERRCODE TFormer_AddNewFormW(HTFORM pInstance, LPCWSTR pszProjectName, LPCWSTR pszFormName, LPCWSTR pszFormDesc, LPCWSTR pszFormDesign, LPCWSTR pszFormFile);
Contract
Adds a new Form to the given Project.
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. The name of the FormLayout must follow the Naming Rules.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszProjectNameLPCSTR / LPCWSTR |
|
pszFormNameLPCSTR / LPCWSTR |
|
pszFormDescLPCSTR / LPCWSTR |
|
pszFormDesignLPCSTR / LPCWSTR |
|
pszFormFileLPCSTR / LPCWSTR |
|