ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Controls taken into account
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ControlExist (Function)
In french: ChampExiste
Warning
From version 17, FieldExist is kept for backward compatibility. This function is replaced by ControlExist.
Checks the existence of a control (or group of controls) in a window, in a page or in a report.
Example
// 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>".
Remarks

Controls taken into account

  • WINDEV The cells in status bars and the menu options are not considered as being controls.
  • AndroidAndroid Widget The menu options are not considered as being controls.
  • WEBDEV - Server code The columns found in the Table controls are not considered as being controls.
Component: wd270vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment