This shows you the differences between two versions of the page.
koda:en:documentation:control_treeview [2014/07/10 10:48] |
koda:en:documentation:control_treeview [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== TreeView ====== | ||
+ | {{page> | ||
+ | {{page> | ||
+ | {|class=" | ||
+ | |- | ||
+ | |class=" | ||
+ | |class=" | ||
+ | |} | ||
+ | Creates a TreeView control | ||
+ | |||
+ | # | ||
+ | |||
+ | |**Align**|{{KODA> | ||
+ | |**Color**|{{KODA> | ||
+ | |**ContextMenu**|{{KODA> | ||
+ | |**Cursor**|{{KODA> | ||
+ | |**Enabled**|False generates <color blue> | ||
+ | |**Font**|{{KODA> | ||
+ | |**Left, | ||
+ | |**Width, | ||
+ | |**Hint**|Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip</ | ||
+ | |**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 [[proped_treeview_editor]] | | ||
+ | |**Name**|{{KODA> | ||
+ | |**OnClick**|Generates (in Message Loop mode) a <color blue> | ||
+ | |**Resizing**|{{KODA> | ||
+ | |**TabOrder**|Sequence in which controls are selected with the < | ||
+ | |**Visible**|If False, generates <color blue> | ||
+ | |||
+ | # | ||
+ | |||
+ | |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 < | ||
+ | |WS_HSCROLL|{{KODA> | ||
+ | |WS_VSCROLL|{{KODA> | ||
+ | |WS_VISIBLE|{{KODA> | ||
+ | |WS_BORDER|{{KODA> | ||
+ | |WS_CLIPSIBLINGS|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | |WS_EX_CLIENTEDGE|{{KODA> | ||
+ | |WS_EX_STATICEDGE|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | None | ||
+ | |||
+ | # | ||
+ | |||
+ | [[control_imagelist|]] control |