AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control TreeView
  • Element identifier
  • Associating an identifier with an element
  • Reading the element identifier
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
Associating an identifier with an element found in a TreeView control
Element identifier
WINDEV, WINDEV Mobile and WEBDEV give you the ability to associate an identifier with each element found in a TreeView control. This identifier can be a character string or an integer.
This identifier can be used to store a specific information (number of the record corresponding to the element selected in the TreeView control for example).
Remark: You also have the ability to associate an image with an element. For more details, see Associate an image with the elements.
Associating an identifier with an element
To associate an identifier with an element found in a TreeView control, this identifier must be specified in the following programming functions:
TreeAddAdds a "leaf" element (and all necessary nodes) into a TreeView control.
TreeInsertInserts a leaf into a TreeView control at a specific position.
TreeModifyModifies an element (node or leaf) in a TreeView control.
These functions are also available in prefix syntax:
<TreeView>.AddAdds a "leaf" element (and all necessary nodes) into a TreeView control.
<TreeView>.InsertInserts a leaf into a TreeView control at a specific position.
<TreeView>.ModifyModifies an element (node or leaf) in a TreeView control.
Reading the element identifier
To find out the element identifier, all you have to do is use the following function:
TreeIdentifierReturns the identifier associated with an element (node or leaf) in a TreeView control.
This function is also available in prefix syntax:
<TreeView>.IdentifierReturns the identifier associated with an element (node or leaf) in a TreeView control.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/01/2023

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