ManagedForm.DoModal
Syntax:
Parameters:
<Timeout> (optional)
Form display time in seconds after which the form is closed with the close parameter. If the parameter value is not specified, the display time is unlimited.
Default value: 0.
Returned value:
Close form command.
If a form was opened for selection, the method returns the selected value (or an array of selected values if multiple selection was allowed in the form being opened). If no value was selected, Undefined is returned.
Description:
Availability:
Note:
In the managed application programmed opening and closing of the same form should not be performed in one script call.
During execution there can be several server calls. Part of them is cached. There is at least one server call always and it is not cached. Caching depends on the platform version and configuration version on the whole. If low connection speed is set and the current row is not indicated, then the choice form is cached. Clearing the cache is performed at intervals of 20 minutes. Forms, which were not used during this period of time, are deleted.
If the configuration has the ModalityUseMode property set to DontUse use the OpenForm method instead.