PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Used to enumerate the project elements: windows, pages, reports, queries, ... In a loop, this function can be used to enumerate the project elements.
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 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
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
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.
Universal Windows 10 App This function is now available in Windows Store apps mode.
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.
WINDEVReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppJavaUser code (UMC)
// Enumerate the windows of a project
WindowName is string = EnumElement(enumWindow)
// Browse all the windows
WHILE WindowName <> ""
// Go to the next window
WindowName = EnumElement()
END
WEBDEV - Server codeAjax
// Enumerate the pages of a project
PageName is string = EnumElement(enumPage)
// Browse all the pages
WHILE PageName <> ""
// Go to the next page
PageName = EnumElement()
END
Syntax
<Result> = EnumElement([<Object to Enumerate> [, <Component Name>]])
<Result>: Character string
  • Name of the element found,
  • Empty string ("") if no element was found.
<Object to Enumerate>: Optional constant
Parameter that must be specified during the first call to the function (to start the enumeration). To continue the enumeration, this parameter is not required.
enumAllEnumerates all project elements.
Versions 18 and later
enumExternalComponent
New in version 18
enumExternalComponent
enumExternalComponent
Enumerates the public elements of an external component included in the project. The name of the component is specified in <Component Name>.
enumReportEnumerates all project reports.
enumWindowEnumerates all project windows.
enumInternalWindowEnumerates all internal windows of project.
Versions 18 and later
enumGPU
New in version 18
enumGPU
enumGPU
Constant intended for the User Groupware.
enumReportTemplateEnumerates all the reports templates of the project.
enumWindowTemplateEnumerates all the window templates of the project.
enumPageTemplateEnumerates all the page templates of the project.
enumPageEnumerates all project pages.
enumDynamicPageEnumerates all dynamic pages of project.
enumInternalPageEnumerates all internal pages of project.
enumQueryEnumerates all project queries.
iPhone/iPadJava Only the enumWindow, enumQuery and enumAll constants are available.
<Component Name>: Character string (with quotes)
Versions 18 and later
Name of the component for which the public elements must be enumerated.
iPhone/iPadJava This parameter is not available.
New in version 18
Name of the component for which the public elements must be enumerated.
iPhone/iPadJava This parameter is not available.
Name of the component for which the public elements must be enumerated.
iPhone/iPadJava This parameter is not available.
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