PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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.
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

  • WEBDEV - Server code The columns found in the Table controls are not considered as being controls.
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment