formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Script Only Templates
Description
Initialize interface template. This function must be the first function called in an
interface setup function. The titl_str parameter is shown in the name of the dialog or
palette window title bar.
The UUID and version are provided so that formZ can maintain some persistent information
about the template so that is kept in same state when it is invoked the next time.
This includes settings like the active tab in tab controls, the collapse state for
groups in palettes etc.. This information is also used to automate the predefined settings
menu which is present next to the reset button (when a UUID is provided). The version number
should start at 0 and if the content of the template is changed, the version number should be
increased so that formZ can properly handle persistent information from previous versions.
Parameters
fuim_tmpl [Input]
pointer to fuim template
titl_str [Input]
name of template.
tmpl_flags [Input]
flags used for how template is constructed.
uuid [Input, Optional]
UUID for template
version [Input]
version for template
Returns
the number of characters
Availability
5.0.0.0