Indeed, when adding, inserting or modifying an element in a TreeView control, you have the ability to specify an identifier for the element used. This identifier (defined by the developer) will be used to identify the duplicate handled by the user.
The principle is straightforward: all you have to do is use a different identifier for each duplicate. This identifier will be retrieved by the functions for treeview management and it will be used to identify the duplicated handled.
Defining an identifier for managing the duplicates
To associate an identifier with an element found in a TreeView control, this identifier must be specified in the following programming functions:
Handling an element via its identifier
to handle an element whose path is known, each path element must be filled (if necessary) by its identifier via 树视图ID.
Example: To add a leaf to the "Root"+TAB+"Node"+TAB+"Leaf" element, whose identifier is "Leaf ID", use the following syntax:
Finding out the identifier of an element
When managing the duplicates, the identifier is an integral part of the path as it is used to identify the selected element.
Therefore, the WLanguage functions returning the path of an element (when selecting an element for example) can return:
J'accepte les termes de la licence
All you have to do is configure your product as follows: