create()
Creates a new fglgallery handle.
Syntax
create( name STRING )
RETURNS SMALLINT
- name is the name of the
WEBCOMPONENT
form field.
Usage
This function creates a new fglgallery handler.
Note: The window/form containing the fglgallery web component field must be created before calling
this function.
The id returned by this function identifies the web component field in subsequent fglgallery API calls.
When the fglgallery web component is no longer required, use the destroy()
function,
to free the resources allocated for this fglgallery object.
Example
DEFINE id SMALLINT
LET id = fglgallery.create("formonly.gallery")
...
CALL fglgallery.destroy(id)