PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
The following functions are used to manage the TreeView controls:
TreeAddAdds a "leaf" element (and all necessary nodes) into a TreeView control.
TreeCollapseCollapses a branch that was expanded beforehand.
TreeCollapseAllCollapses a branch that was expanded beforehand (as well as its child elements).
TreeCopyItemCopies an element (leaf or node) into a TreeView control.
TreeCountReturns the number of elements found in a branch of a TreeView control.
TreeDeleteDeletes an element and all its "children" from a TreeView control.
TreeDeleteAllDeletes all elements from a TreeView control.
TreeDeleteChildDeletes the children of an element from a TreeView control without deleting the element itself.
TreeDisplayRefreshes the display of a TreeView control from a given position.
TreeExpandExpands a node in a TreeView control.
TreeExpandAllExpands a node and all its child elements in a TreeView control.
TreeFindSeeks an element (leaf or node) in a TreeView control and returns its path.
Versions 23 and later
TreeGetSubscript
New in version 23
TreeGetSubscript
TreeGetSubscript
Returns the subscript of an element (node or leaf) in a TreeView control.
TreeGiveChildReturns the "children" of an element found in a TreeView control.
TreeIDUsed to build the path of the elements found in a TreeView control by differentiating the duplicates.
TreeIdentifierReturns the identifier associated with an element (node or leaf) in a TreeView control.
TreeInfoXYReturns the treeview element found at a given position.
TreeInsertInserts a leaf into a TreeView control at a specific position.
TreeListItemLists the "children" of a node and the "child" elements of these "children" in a TreeView control.
TreeModifyModifies an element (node or leaf) in a TreeView control.
TreeMoveItemMoves an element (leaf or node) in a TreeView control.
TreePositionDisplays a TreeView control from a specified element (node or leaf) or returns the name of the first element displayed in a TreeView control.
TreeSelectReturns the full path of selected element in a TreeView control.
TreeSelectMinusDeselects an element in a TreeView control.
TreeSelectOccurrenceReturns the number of selected elements in a TreeView control (for a multi-selection TreeView control).
TreeSelectPlusSelects an element in a TreeView control.
TreeSortSorts the elements found in a TreeView control.
TreeSort_55TreeSort_55 is kept for backward compatibility.
TreeStatusReturns the status of a node: collapsed, expanded or not found.
TreeTypeItemChecks the existence of an element in a TreeView control and returns its type (node or leaf) if the element exists.
Related Examples:
The TreeView control Unit examples (WINDEV): The TreeView control
[ + ] Using the TreeView control via the WLanguage Tree functions.
WD Printing TreeViews Training (WINDEV): WD Printing TreeViews
[ + ] This example explains how to print a Treeview.
It uses a "PrintTree" class that can be easily reused for any TreeView control
The TreeView Table control Unit examples (WINDEV): The TreeView Table control
[ + ] Using the "TreeView Table" control.
This control is used to organize the data found in a table in tree structure.
The user has the ability to see only the informations he is interesting it.
This example explains how to fill a treeview table, insert data, add child elements...
WD Zip Complete examples (WINDEV): WD Zip
[ + ] This example presents the use of archiving WLanguage functions with compression.
The following topics are presented in this example:
1/ How do I create an archive?
2/ How do I compress and uncompress files?
3/ How do I manage the Drag&Drop from the file explorer of Windows to a TreeView control?
Summary of the example supplied with WINDEV:
This example allows you to create and read compressed archives in WDZ, ZIP, CAB and RAR format (in read-only). This feature can be very useful to manage the automatic backups. Furthermore, the example allows you to create multi-volume archives.
Pocket FTPClient Mobile (WINDEV Mobile): Pocket FTPClient
[ + ] This example is an FTP client for Pocket PC.

This example enables you to view the content of an FTP server. It can also used to download files, to rename them or to delete them.
The TreeView control (selection bar) Unit examples (WEBDEV): The TreeView control (selection bar)
[ + ] This example explains how to simulate a selection bar on a treeview control.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment