PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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).
Note: You also have the ability to associate an image with an element. See Associate an image with the elements for more details.
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.
Versions 23 and later
These functions are also available in object syntax:
Versions 23 and later
<TreeView>.Add
New in version 23
<TreeView>.Add
<TreeView>.Add
Adds a "leaf" element (and all necessary nodes) into a TreeView control.
Versions 23 and later
<TreeView>.Insert
New in version 23
<TreeView>.Insert
<TreeView>.Insert
Inserts a leaf into a TreeView control at a specific position.
Versions 23 and later
<TreeView>.Modify
New in version 23
<TreeView>.Modify
<TreeView>.Modify
Modifies an element (node or leaf) in a TreeView control.
New in version 23
These functions are also available in object syntax:
Versions 23 and later
<TreeView>.Add
New in version 23
<TreeView>.Add
<TreeView>.Add
Adds a "leaf" element (and all necessary nodes) into a TreeView control.
Versions 23 and later
<TreeView>.Insert
New in version 23
<TreeView>.Insert
<TreeView>.Insert
Inserts a leaf into a TreeView control at a specific position.
Versions 23 and later
<TreeView>.Modify
New in version 23
<TreeView>.Modify
<TreeView>.Modify
Modifies an element (node or leaf) in a TreeView control.
These functions are also available in object syntax:
Versions 23 and later
<TreeView>.Add
New in version 23
<TreeView>.Add
<TreeView>.Add
Adds a "leaf" element (and all necessary nodes) into a TreeView control.
Versions 23 and later
<TreeView>.Insert
New in version 23
<TreeView>.Insert
<TreeView>.Insert
Inserts a leaf into a TreeView control at a specific position.
Versions 23 and later
<TreeView>.Modify
New in version 23
<TreeView>.Modify
<TreeView>.Modify
Modifies 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.
Versions 23 and later
This function is also available in object syntax:
Versions 23 and later
<TreeView>.Identifier
New in version 23
<TreeView>.Identifier
<TreeView>.Identifier
Returns the identifier associated with an element (node or leaf) in a TreeView control.
New in version 23
This function is also available in object syntax:
Versions 23 and later
<TreeView>.Identifier
New in version 23
<TreeView>.Identifier
<TreeView>.Identifier
Returns the identifier associated with an element (node or leaf) in a TreeView control.
This function is also available in object syntax:
Versions 23 and later
<TreeView>.Identifier
New in version 23
<TreeView>.Identifier
<TreeView>.Identifier
Returns the identifier associated with an element (node or leaf) in a TreeView control.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment