TDMSControls ActiveX Control module
TDMSTreeCtrl Объект Члены
Смотри также  Общее описание  Послать замечания

Glossary Item Box

Публичные Методы

Public Method CollapseCollapses, the child items of the specified tree view item.
Public Method DeleteAllItemsDeletes all items in a tree view control.
Public Method DeleteItemDeletes an item in a tree view control.
Public Method EditLabelBegins in-place editing of an item's text.
Public Method EnsureVisibleEnsures that a tree view item is visible in its tree view control.
Public Method ExpandExpands the child items of the specified tree view item.
Public Method GetCheckRetrieves the check state of a tree control item.
Public Method GetChildItemRetrieves the child of a specified tree view item.
Public Method GetItemDataReturns the variant application-specific value associated with an item.
Public Method GetItemIconReturns item icon as TDMSIcon sysname.
Public Method GetItemObjectReturn TDMS object associated with item. In vbscript use TypeName(obj) function to determine type of the object.
Public Method GetItemTextReturns the text of the item specified by hItem.
Public Method GetNextSiblingItemRetrieves the next sibling of the specified tree view item.
Public Method GetObjectPathReturn array of TDMS objects from root to object in hItem node
Public Method GetParentItemRetrieves the parent of the specified tree view item.
Public Method GetPrevSiblingItemRetrieves the previous sibling of the specified tree view item.
Public Method HitTestReturns the item under position.
Public Method InsertItemInserts a new item in a tree view control. Use 0 as default value for hInsertAfter.
Public Method InsertObjectInsert TDMS object to tree. Variant obj can be object dispatch, string GUID, or system id.
Public Method IsExpandInitReturn True if item has post initialization on ExpandInit action(on first expand).
Public Method IsItemExpandedReturn true if item expanded
Public Method IsItemHasChildrenUse this function to determine whether the tree item specified by hItem has child items.
Public Method IsItemSelectedReturns the selection state of the item specified by hItem.
Public Method SelectObjectPathSelect path by array of TDMS objects from root to object
Public Method SetCheckSets the check state of a tree control item.
Public Method SetExpandInitSet item to need initialization on first expand on action ExpandInit.
Public Method SetItemDataSets the variant application-specific value associated with an item.
Public Method SetItemIconSet icon to tree item. Icon can be TDMSIcon object, icon sysname, or icon id.
Public Method SetItemTextSets the text of the item specified by hItem.
Public Method SortChildrenSorts the children of a given parent item.
Public Method UpdateItemUpdateItem from linked TDMS object

Публичные Свойства

Public Property ApplicationGet/set TDMSApplication to work with classifiers, object/user items.
Public Property BackColorproperty BackColor
Public Property BorderStyleControls what type of border is drawn around the tree
Public Property CheckBoxesProperty if tree has check boxes.
Public Property CountRetrieves the number of tree items.
Public Property DisplayFullContentIgnore objects ShowInTree flag.
Public Property DisplayQueriesDisplay queries in object content
Public Property EditLabelsIndicates whether the user can edit the label text of nodes.
Public Property Fontproperty Font
Public Property ForeColorproperty ForeColor
Public Property FullRowSelectIndicates whether the highlight spans the width of the tree.
Public Property HideSelectionRemoves highlight from the selected node when control does not have focus.
Public Property HotTrackingIndicates whether nodes give feedback when the mouse is moved over them.
Public Property hWndproperty hWnd
Public Property RootItemRetrieves the root of the tree.
Public Property ScrollableIndicates whether the control will display scroll bars if it contains more nodes than can fit in the visible area.
Public Property SelectedItemRetrieves/sets the currently selected tree view item.
Public Property ShowLinesIndicates whether lines are displayed between sibling nodes and between parent and child nodes.
Public Property ShowPlusMinusIndicates if plus/minus buttons are shown next to parent nodes.
Public Property ShowRootLinesIndicates whether lines are displayed between root nodes.
Public Property ShowToolTipsIndicates whether ToolTips will be displayed on the nodes.

События

Public Event AfterEditLabelOccurs after end of label editing for an item.
Public Event BeforeEditLabelOccurs before start of label editing for an item.
Public Event CheckedOccurs after item was checked or unchecked, if checkbox style was specified for tree view.
Public Event ContextMenuNeeds to popup context menu.
Public Event DblClickUser double click mouse button on tree view item.
Public Event ExpandedOccurs on expand or collapse tree view item occured.
Public Event ExpandInitOccurs on first expand of the item if SetExpandInit() specified for this item.
Public Event KeyDownStandart on key down action.
Public Event SelectedOccurs after item was selected.

Смотри также

© 2016 CSoft Development. Все права защищены.