ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Reflection functions
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
Used to find out whether a property exists on a control or on a class instance.
Example
PROCEDURE ChangeCaption(ControlName, NewCaption)
 
IF PropertyExist(ControlName, "Caption") THEN
ControlName.Caption = NewCaption
END
Syntax
<Result> = PropertyExist(<Element> , <Property>)
<Result>: Boolean
  • True if the property exists,
  • False otherwise.
<Element>: Character string or class
Name of the control or name of the class instance to use.
  • If this parameter corresponds to the name of a control, the property is searched among the standard WLanguage properties.
  • If this parameter corresponds to a Class variable, the property is searched among the properties defined for the class.
PHP This parameter must necessarily correspond to the name of the control.
<Property>: Character string
Name of the property whose existence must be checked.
Component: wd290vm.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help