Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: How To (Forms, Reports, and more) > Forms > Form Designer > Form Controls > Additional Controls

Tree View

Scroll Prev Top Next More

 

tree view

The control displays an object containing a hierarchical list of static items (nodes), such as the headings in a document, the entries in an index, or the files and directories on a disk.

 

Each node consists of a label and an optional image, where each node can have a list of subitems associated with it. By selecting the tree structure, the user can expand or collapse the associated list of subitems.

 

R:BASE command syntax can be stored or referenced within the item properties to accomplish a task. The control is ideal for designing menu-driven applications.


 

The Tree View control now supports the ability to search the nodes for text. This functionality is beneficial to the users where a Tree View contains many nodes with several levels. Pressing [Ctrl] +[F] will display the following search dialog.

 

SearchInNodes

 

 

The PROPERTY command FINDNODE parameter has also been introduced to allow searching with the command syntax.

 

Example:

 

PROPERTY TreeViewControl FINDNODE 'Analysis'

 

Popup Menu support has been implemented for Tree View and DB Tree View controls, to offer a right click popup menu to run procedures. In the menu item's EEP, use the SelectedID property to capture the right-clicked menu item:

 

GETPROPERTY DBTreeView1 SelectedID vNodeID