Checks the existence of a control (or group of controls) in a window, in a page or in a report.
// Check the existence of the "EditName" control
ResExist = ControlExist("EditName")
Syntax
<Result> = ControlExist(<Control name>)
<Result>: Boolean
- True if the control (or group of controls) exists,
- False otherwise.
<Control name>: Character string
Name of the control that must be checked between quotes. This parameter can also correspond to a group of controls.
To check the existence of controls in other windows, pages or reports, <Control Name> must have the following format:
"<Name of Window, Page or Report>.<Control Name>".