<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css">
<title>
Gambas Documentation - TreeView
 (gb.qt)</title>
</head>
<body>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help%3Fen"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;&nbsp;
<a href="../gb.qt%3Fen">Up</a>&nbsp;&nbsp;
<a href="trayicons/_next%3Fen">Previous</a>&nbsp;&nbsp;
<a href="treeview/_activate%3Fen">Next</a>&nbsp;&nbsp;
</td></tr></table>
<div class="notab">
<h1>
TreeView
 (gb.qt)</h1>
This control implements a tree view of selectable text items with icons.
<p>
Tree view items are indexed by a key. They display a string and an icon for each item.
<p>
This control has an internal cursor used for accessing its items. Use the <a href="treeview/movefirst%3Fen">MoveFirst</a>, <a href="treeview/movenext%3Fen">MoveNext</a>, <a href="treeview/moveto%3Fen">MoveTo</a>... methods to move the
internal cursor, and the <a href="treeview/item%3Fen">Item</a> property to get the item it points at.
<p>
<div class="black"><font color="white" size="-2"><b>Symbols</b></font></div>
<div class="border">
This class inherits <a href="control%3Fen">Control</a>.<hr>
This class is <a href="treeview/_new%3Fen">creatable</a>.<br>
This class acts like a <a href="treeview/_get%3Fen">read-only</a> array.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Constants</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<b><a href="treeview/extended%3Fen">Extended</a></b>&nbsp;&nbsp; <b><a href="treeview/multi%3Fen">Multi</a></b>&nbsp;&nbsp; <b><a href="treeview/none%3Fen">None</a></b>&nbsp;&nbsp; <b><a href="treeview/single%3Fen">Single</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Properties</b></td><td width="32">&nbsp;</td>
<td align=left><b>Methods</b></td><td width="32">&nbsp;</td>
<td align=left><b>Events</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<a href="treeview/available%3Fen">Available</a>&nbsp;&nbsp; <a href="control/backcolor%3Fen">BackColor</a>&nbsp;&nbsp; <a href="control/background%3Fen">Background</a>&nbsp;&nbsp; <a href="treeview/border%3Fen">Border</a>&nbsp;&nbsp; <a href="treeview/clienth%3Fen">ClientH</a>&nbsp;&nbsp; <a href="treeview/clientheight%3Fen">ClientHeight</a>&nbsp;&nbsp; <a href="treeview/clientw%3Fen">ClientW</a>&nbsp;&nbsp; <a href="treeview/clientwidth%3Fen">ClientWidth</a>&nbsp;&nbsp; <a href="treeview/compare%3Fen">Compare</a>&nbsp;&nbsp; <a href="treeview/count%3Fen">Count</a>&nbsp;&nbsp; <a href="treeview/current%3Fen">Current</a>&nbsp;&nbsp; <a href="control/cursor%3Fen">Cursor</a>&nbsp;&nbsp; <a href="control/design%3Fen">Design</a>&nbsp;&nbsp; <a href="control/drop%3Fen">Drop</a>&nbsp;&nbsp; <a href="treeview/editable%3Fen">Editable</a>&nbsp;&nbsp; <a href="control/enabled%3Fen">Enabled</a>&nbsp;&nbsp; <a href="control/expand%3Fen">Expand</a>&nbsp;&nbsp; <a href="control/font%3Fen">Font</a>&nbsp;&nbsp; <a href="control/forecolor%3Fen">ForeColor</a>&nbsp;&nbsp; <a href="control/foreground%3Fen">Foreground</a>&nbsp;&nbsp; <a href="control/h%3Fen">H</a>&nbsp;&nbsp; <a href="control/handle%3Fen">Handle</a>&nbsp;&nbsp; <a href="control/height%3Fen">Height</a>&nbsp;&nbsp; <a href="control/id%3Fen">Id</a>&nbsp;&nbsp; <a href="treeview/item%3Fen">Item</a>&nbsp;&nbsp; <a href="treeview/key%3Fen">Key</a>&nbsp;&nbsp; <a href="control/left%3Fen">Left</a>&nbsp;&nbsp; <a href="treeview/mode%3Fen">Mode</a>&nbsp;&nbsp; <a href="control/mouse%3Fen">Mouse</a>&nbsp;&nbsp; <a href="control/next%3Fen">Next</a>&nbsp;&nbsp; <a href="control/parent%3Fen">Parent</a>&nbsp;&nbsp; <a href="control/previous%3Fen">Previous</a>&nbsp;&nbsp; <a href="treeview/root%3Fen">Root</a>&nbsp;&nbsp; <a href="control/screenx%3Fen">ScreenX</a>&nbsp;&nbsp; <a href="control/screeny%3Fen">ScreenY</a>&nbsp;&nbsp; <a href="treeview/scrollbar%3Fen">ScrollBar</a>&nbsp;&nbsp; <a href="treeview/sorted%3Fen">Sorted</a>&nbsp;&nbsp; <a href="control/tag%3Fen">Tag</a>&nbsp;&nbsp; <a href="control/tooltip%3Fen">ToolTip</a>&nbsp;&nbsp; <a href="control/top%3Fen">Top</a>&nbsp;&nbsp; <a href="control/visible%3Fen">Visible</a>&nbsp;&nbsp; <a href="control/w%3Fen">W</a>&nbsp;&nbsp; <a href="control/width%3Fen">Width</a>&nbsp;&nbsp; <a href="control/window%3Fen">Window</a>&nbsp;&nbsp; <a href="control/x%3Fen">X</a>&nbsp;&nbsp; <a href="control/y%3Fen">Y</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a href="treeview/add%3Fen">Add</a>&nbsp;&nbsp; <a href="treeview/clear%3Fen">Clear</a>&nbsp;&nbsp; <a href="control/delete%3Fen">Delete</a>&nbsp;&nbsp; <a href="control/drag%3Fen">Drag</a>&nbsp;&nbsp; <a href="treeview/exist%3Fen">Exist</a>&nbsp;&nbsp; <a href="treeview/find%3Fen">Find</a>&nbsp;&nbsp; <a href="control/grab%3Fen">Grab</a>&nbsp;&nbsp; <a href="control/hide%3Fen">Hide</a>&nbsp;&nbsp; <a href="control/lower%3Fen">Lower</a>&nbsp;&nbsp; <a href="control/move%3Fen">Move</a>&nbsp;&nbsp; <a href="treeview/moveabove%3Fen">MoveAbove</a>&nbsp;&nbsp; <a href="treeview/moveback%3Fen">MoveBack</a>&nbsp;&nbsp; <a href="treeview/movebelow%3Fen">MoveBelow</a>&nbsp;&nbsp; <a href="treeview/movechild%3Fen">MoveChild</a>&nbsp;&nbsp; <a href="treeview/movecurrent%3Fen">MoveCurrent</a>&nbsp;&nbsp; <a href="treeview/movefirst%3Fen">MoveFirst</a>&nbsp;&nbsp; <a href="treeview/movelast%3Fen">MoveLast</a>&nbsp;&nbsp; <a href="treeview/movenext%3Fen">MoveNext</a>&nbsp;&nbsp; <a href="treeview/moveparent%3Fen">MoveParent</a>&nbsp;&nbsp; <a href="treeview/moveprevious%3Fen">MovePrevious</a>&nbsp;&nbsp; <a href="control/movescaled%3Fen">MoveScaled</a>&nbsp;&nbsp; <a href="treeview/moveto%3Fen">MoveTo</a>&nbsp;&nbsp; <a href="control/raise%3Fen">Raise</a>&nbsp;&nbsp; <a href="control/refresh%3Fen">Refresh</a>&nbsp;&nbsp; <a href="treeview/remove%3Fen">Remove</a>&nbsp;&nbsp; <a href="control/reparent%3Fen">Reparent</a>&nbsp;&nbsp; <a href="control/resize%3Fen">Resize</a>&nbsp;&nbsp; <a href="control/resizescaled%3Fen">ResizeScaled</a>&nbsp;&nbsp; <a href="treeview/selectall%3Fen">SelectAll</a>&nbsp;&nbsp; <a href="control/setfocus%3Fen">SetFocus</a>&nbsp;&nbsp; <a href="control/show%3Fen">Show</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a href="treeview/_activate%3Fen">Activate</a>&nbsp;&nbsp; <a href="treeview/_click%3Fen">Click</a>&nbsp;&nbsp; <a href="treeview/_collapse%3Fen">Collapse</a>&nbsp;&nbsp; <a href="treeview/_compare%3Fen">Compare</a>&nbsp;&nbsp; <a href="control/_dblclick%3Fen">DblClick</a>&nbsp;&nbsp; <a href="control/_drag%3Fen">Drag</a>&nbsp;&nbsp; <a href="control/_dragmove%3Fen">DragMove</a>&nbsp;&nbsp; <a href="control/_drop%3Fen">Drop</a>&nbsp;&nbsp; <a href="control/_enter%3Fen">Enter</a>&nbsp;&nbsp; <a href="treeview/_expand%3Fen">Expand</a>&nbsp;&nbsp; <a href="control/_gotfocus%3Fen">GotFocus</a>&nbsp;&nbsp; <a href="control/_keypress%3Fen">KeyPress</a>&nbsp;&nbsp; <a href="control/_keyrelease%3Fen">KeyRelease</a>&nbsp;&nbsp; <a href="control/_leave%3Fen">Leave</a>&nbsp;&nbsp; <a href="control/_lostfocus%3Fen">LostFocus</a>&nbsp;&nbsp; <a href="control/_menu%3Fen">Menu</a>&nbsp;&nbsp; <a href="control/_mousedown%3Fen">MouseDown</a>&nbsp;&nbsp; <a href="control/_mousemove%3Fen">MouseMove</a>&nbsp;&nbsp; <a href="control/_mouseup%3Fen">MouseUp</a>&nbsp;&nbsp; <a href="control/_mousewheel%3Fen">MouseWheel</a>&nbsp;&nbsp; <a href="treeview/_rename%3Fen">Rename</a>&nbsp;&nbsp; <a href="treeview/_select%3Fen">Select</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

</div>
<hr>
</body>
</html>

