<< Click to Display Table of Contents >>
Manual > Control Reference > Common to all controls > Common methods >
Close the dialog.
syntax
CloseDialog(
viewName
[,bSearch = FALSE]
)
Parameters
Type:
character
The view name (the view name specified in OpenDialog). For details,"About form names and view names"Please refer to.
bStretch
Whether to perform a fuzzy search. When T, you can specify the following in ViewName.
"Abc%" - Closes all dialogs that start with the letters Abc.
"%Abc" - Closes all dialogs that end with the letters Abc.
"%Abc%" - Closes all dialogs containing the characters Abc.
Return Value
Boolean
FALSE - Failure. TRUE - Success.
Explanation
Supported
×
Script Action
Can be used in server script Ver2 actions
○
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind format)
reference
OpenDialog
OpenModalDialog
CloseDialog