ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 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.
Example
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
Syntax
<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.
Component: wd300gpu.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help