|
TATreeView |
Creates a TreeView control
| Align | Design only property, does not generate code, helps with aligning controls while editing. alBottom - control moves to bottom of client area, resizes to width of client area x original height alClient - control occupies the whole of the client area alCustom - not used alLeft - control moves to left edge of client area, resizes to original width x height of client area alNone - no aligning alRight - control moves to right edge of client area, resizes to original width x height of client area alTop - control moves to top of client area, resizes to width of client area x original height |
| Color | Background color of control. Choose from the list, or enter your own. Format is 0xnumber where number is 6 hexadecimal digits: 2 for blue, 2 for green and 2 for red |
| ContextMenu | Specifies context menu to attach to control. Create the ContextMenu first |
| Cursor | Cursor shape to display when mouse is over this control |
| Enabled | False generates GUICtrlSetState(-1, $GUI_DISABLE) |
| Font | Double-click to the right to open the Font dialog. Click on + to show the Color, Name, Size and Style properties |
| Left,Top | Position of control relative to its parent |
| Width,Height | Size of control in pixels |
| Hint | Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip</color> |
| Images | If nodes are to have icons, select an ImageList from drop-down. The ImageList must already exist. |
| Items | Nodes. Double-click to the right to design tree with TreeView Editor |
| Name | Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated |
| OnClick | Generates (in Message Loop mode) a Case or (in OnEvent mode) a call to GUISetOnEvent and a skeleton event function. Double-click to right to open Events Editor |
| Resizing | Click on + to expand resize modes: DocAuto - resize and reposition according to new window size DocRight - Do not move right side DocLeft - Do not move left side DocTop - Do not move top DocBottom - Do not move bottom DocHCenter - Horizontal center remains fixed DocVCenter - Vertical center remains fixed DocWidth - Width does not change DocHeight - Height does not change |
| TabOrder | Sequence in which controls are selected with the Tab and Shift+Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press Ctrl+T to open it. |
| Visible | If False, generates GUICtrlSetState(-1, $GUI_HIDE) |
| TVS_HASBUTTONS | Shows + and - buttons next to parent items user can expand and collapse trees |
| TVS_HASLINES | Lines show the hierarchy of nodes clearly |
| TVS_LINESATROOT | Shows lines to link items at the root. Requires TVS_HASLINES |
| TVS_EDITLABELS | Allows editing of node labels at run-time |
| TVS_DISABLEDRAGDROP | Prevent adding nodes to tree by drag-n-drop operations at run-time |
| TVS_SHOWSELALWAYS | Retains selection of node when control loses focus |
| TVS_CHECKBOXES | Shows check-box square to left of each node |
| TVS_TRACKSELECT | Cursor is pointer-finger and, when mouse hovres over a node, its text is underlined |
| TVS_SINGLEEXPAND | Single-clicking (rather than double-clicking) on a node expands it. Cannot use with TVS_HASLINES |
| TVS_FULLROWSELECT | Shows selection with a bar across the width of the control, rather than just highlighting the node |
| TVS_NOSCROLL | Shows no scroll bars |
| TVS_NONEVENHEIGHT | Makes the rows in the control slightly taller |
| WS_TABSTOP | Control can be selected with Tab and Shift+Tab |
| WS_HSCROLL | Control has horizontal scroll bar |
| WS_VSCROLL | Control has vertical scroll bar |
| WS_VISIBLE | Control is visible |
| WS_BORDER | Control has a thin-line border |
| WS_CLIPSIBLINGS | If this control overlaps with another, this control shows partially |
| WS_EX_CLIENTEDGE | Control has border with sunken edge |
| WS_EX_STATICEDGE | Control has a three-dimensional border |
None
ImageList control