AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de proyectos
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Enumerates project elements: windows, pages, reports, queries, etc., ... In a loop, this function can be used to enumerate the project elements.
WEBDEV - Código ServidorAjax
// 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
Sintaxis
<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.
enumDynamicPageEnumerates all dynamic pages of project.
enumExternalComponentEnumerates the public elements of an external component included in the project. The name of the component is specified in <Component name>.
enumGPUConstant intended for the User Groupware.
enumInternalPageEnumerates all internal pages of project.
enumInternalWindowEnumerates all internal windows of project.
enumPageEnumerates all project pages.
enumPageTemplateEnumerates all the page templates of the project.
enumQueryEnumerates all project queries.
enumReportEnumerates all project reports.
enumReportTemplateEnumerates all the reports templates of the project.
enumWindowEnumerates all project windows.
enumWindowTemplateEnumerates all the window templates of the project.
<Component name>: Character string
Name of the component for which the public elements must be enumerated.
Componente: wd300vm.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Listando objetos do Projeto
// Browse all the windows
WindowName = EnumElement(enumWindow)

WHILE WindowName <> ""

WindowName = EnumElement()

BufImagem = Screen_GetImageBuffer(Diretorio,WindowName)

Screen_AddElement(WindowName, "Window", BufImagem)

END

WindowName = ""


// Browse all the internal windows
InternalWindowName = EnumElement(enumInternalWindow)

WHILE InternalWindowName <> ""

InternalWindowName = EnumElement()

BufImagem = Screen_GetImageBuffer(Diretorio,InternalWindowName)

Screen_AddElement(InternalWindowName, "InternalWindow", BufImagem)

END

InternalWindowName = ""


// Browse all the report
ReportName = EnumElement(enumReport)

WHILE ReportName <> ""

ReportName = EnumElement()

BufImagem = ""

Screen_AddElement(ReportName, "Report", BufImagem)

END

ReportName = ""
BOLLER
06 05 2019

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local