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 / Controles, páginas y ventanas / Funciones del Groupware Usuario
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
Advertencia
A partir de la versión 25, this function is kept for backward compatibility. It is recommended to use EnumControl, which offers more possibilities..
Enumerates the controls found in a window or page.
Remarks:
  • This function is used by the User Groupware to enumerate the controls whose status (invisible, grayed, inactive) can be modified by the User Groupware.
  • This function can be used even if the User Groupware is not enabled in the project.
Ejemplo
PROCEDURE EnumereChampFils(sNomParent is string)

// Parcours des champs
nIndice is int = 1
sNomChampFils is string
sInfoChamp is string = gpwEnumèreChamp(sNomParent, nIndice)
WHILE sInfoChamp <> ""
	Trace(sInfoChamp)
	// Récupération du nom complet du champ fils
	sNomChampFils = ExtractString(sInfoChamp, 1, TAB)
	Trace(sNomChampFils)
	// Champ suivant
	nIndice++
	sInfoChamp = gpwEnumControl(sNomParent, nIndice)
END
Sintaxis
<Result> = gpwEnumControl(<Parent element> , <Index>)
<Result>: Character string
  • Characteristics of control found. These characteristics have the following format:
    <Nom complet du champ> + TAB + <Nom complet du parent> + TAB + ...
    <Type> + TAB + <Type en clair> + TAB + <Libellé>

    where:
    • <Nom complet du champ> Full name of the field found.
    • <Nom complet du parent> Full name of field parent (empty string for a window).
    • <Type>: field type identifier (property Type).
    • <Type en clair> Type of readable field (e.g. "Button", "Elevator", ...).
    • <Libellé>: Field label.
  • "" (empty string) if the enumeration is ended.
<Parent element>: Character string
Name of the "parent" object (containing the control). This parameter corresponds to the name of a window or page.
<Index>: Integer
Index of the control to enumerate. Each control is associated with a number. This number corresponds to the order in which the controls have been created.
Componente: wd300gpu.dll
Versión mínima requerida
  • Versión 18
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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