PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Controls taken into account
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the reports in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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 (with quotes)
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 Windows Mobile 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment