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
Checks the existence of an element in a treeview table and returns its type (node or leaf) if the element exists.
Versions 18 and later
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 18
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Example
// Type of element on row 3
// in the "TVT_RecipeTable" treeview table
IF TableTypeItem(TVT_RecipeTable, 3) = taNode THEN
// Expand this node
TableExpand(TVT_RecipeTable, 3)
END
Syntax

Checking the existence of an element by specifying the row number Hide the details

<Result> = TableTypeItem(<TreeView Table Control> [, <Row Number>])
<Result>: Constant
Type of element:
taErrorThe specified element does not exist.
taLeafThe specified element is a leaf.
taNodeThe specified element is a node.
<TreeView Table Control>: Control name
Name of TreeView Table control to use.
<Row Number>: Optional integer
Number of the row containing the element to use. If this parameter is not specified, the type of the element found in the current row is returned.

Checking the existence of an element by specifying its name Hide the details

<Result> = TableTypeItem(<TreeView Table Control> [, <Element Name>])
<Result>: Constant
Type of element:
taErrorThe specified element does not exist.
taLeafThe specified element is a leaf.
taNodeThe specified element is a node.
<TreeView Table Control>: Control name
Name of TreeView Table control to use.
<Element Name>: Optional character string (with quotes)
Name of the element to test. This parameter has the following format:
"<Name of Root>" + TAB + ["<Name of 1st Node>" + TAB + ...
["<Name of 2nd Node>" + TAB + [...]]]"<Element Name>"
A WLanguage error occurs if this parameter does not correspond to an existing element.
If this parameter is not specified, the type of the element found in the current row is returned.
Remarks
The runtime speed of syntax 1 is faster than the runtime speed of syntax 2.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment