MetabaseTreeList

Description

The MetabaseTreeList class implements the MetabaseTreeList development environment component used to display repository object tree.

Properties inherited from IMetabaseTreeList

  Property name Brief description
CheckedObjects The CheckedObjects property returns a collection of descriptions for objects whose checkboxes of which are selected in the component.
DelayedFill The DelayedFill property determines how an object tree is built in a component.
DisplayMode The DisplayMode property determines how objects are displayed in a component tree.
EnableInfotips Outdated.The EnableInfotips property determines whether the object information is displayed in a tool tip.
Filters The Filters property returns a collection of filters used to filter objects displayed in the component.
Metabase The Metabase property determines a repository associated with a component.
Root The Root property determines the root directory whose contents is displayed in the component.
SelectedObjects The SelectedObjects property returns a collection of descriptions for objects selected in the component.
ShowEmptyFolders The ShowEmptyFolders property determines whether empty folders are shown in the factors tree.
ShowInternalObjects The ShowInternalObjects property determines whether internal objects are displayed in the repository object tree.
ShowShortCuts The ShowShortCuts property determines whether labels are displayed in the component element tree.

Properties inherited from ITreeControl

  Property name Brief description
Outdated. Use ITreeControl.SelectionMode.
The AutoCheckParent property determines whether the parent nodes of the component automatically receive an indefinite state, if not all of the child elements are selected.
The BorderStyle property determines the style of the border of the component.
The Checkboxes property determines whether check boxes of the component elements are present.
The ColumnClick property determines whether it is possible to display the component column headings as buttons.
The Columns property returns the collection of columns.
The DropTargetNode property determines the component node, over which a user is currently dragging another node.
The EnableFindDialog property determines whether the standard element search dialog is to be opened when the CTRL+F key combination or F3 key is pressed.
The FindMode property determines selection mode of found elements.
The FocusedNode property determines a node that has focus at the moment.
The GridLines property determines whether grid is displayed.
The HeaderMenu property determines context menu that is called on clicking the additional mouse button on the component column header.
The HideSelection property determines whether the selection is displayed in the component, when the focus goes to another component.
The HighlightTrack property determines whether the element is highlighted on mouse over.
The HotTrack property determines whether the elements are underscored on mouse over.
The HotTrackAutoExpand property determines whether the state of children tree is changed on clicking a selected element.
The Images property determines list of images displayed next to the elements of component tree.
The InnerRoot property returns parameters of the inner root node of the tree.
The Locked property determines whether it is possible to change selection and edit elements.
Outdated. Use ITreeControl.SelectionMode.
The Nodes property returns the component items collection.
The ReadOnly property determines whether the elements are available for editing.
The RowSelect property determines, whether the whole row should be highlighted, when an element is selected.
The Selected property determines the last selected tree element.
The Selection property returns selection of the elements tree.
The SelectionMode property determines the mode of selecting component elements.
The ShowButtons property determines whether hide or show child elements buttons are displayed.
The ShowColumnHeaders property determines, whether column headers are displayed.
The ShowHints property determines whether hints are displayed when the mouse hovers over elements.
The ShowLines property determines whether the line that connects the node with its successors should be displayed.
The SortColumn property determines the index of the column, by which sorting is executed.
The Sorted property determines if the column specified in the SortColumn property can be sorted.
The SortType property determines the component sorting type.
The StateImages property checks the list of images used to indicate the condition of component tree elements.

Properties inherited from IControl

  Property name Brief description
The Align property determines component alignment within its parent component.
The AllowDrag property determines whether an object can be dragged from a component.
The AllowDrop property determines whether the component can accept a dragged object.
The Anchors property returns settings that determine the percentage of the size change for the current component when the parent component is resized.
The Brush property specifies the brush used to fill the component area.
The ClientHeight property determines the height of the client component area.
The ClientWidth property determines the width of the client component area.
The Color property determines the background color of a component.
The Cursor property determines how the cursor looks like when you hover over a component during form execution.
The Enabled property determines whether a component is available for a user.
The Focused property returns True if the focus is set on the component.
The Font property defines the parameters of the font used to display text in a component.
The Height property determines the component height (pixels).
The HelpContext property determines the unique index for a section of a context help for this component.
The Hint property determines the tip text displayed if the mouse pointer is hovered over a component.
The HintTimeout determines the time for which the tooltip is displayed.
The Left property determines the coordinate of the component left edge (pixels).
The Parent property determines the parent component.
The ParentColor property determines whether a component inherits the color of the parent component.
The ParentFont property determines whether a component should use the font of the parent component.
The ParentShowHint property determines when a tooltip is displayed.
The PopupMenu property determines the context menu displayed when a component is clicked using the right mouse button.
The Scrolls property returns parameters of component's scroll bars.
The ShowHint property determines whether a tool tip should be displayed when you hover over a component.
The TabOrder property determines the position of a component in a tab order.
The TabStop property determines whether the focus is set to a component when the Tab button is pressed.
The Text property determines the row identifying a component for a user.
The Top property determines the coordinate of the component upper edge (pixels).
The Visible property determines whether a component is displayed when a form is executed.
Свойство Width определяет ширину компонента в пикселях.

Properties inherited from IComponent

  Property name Brief description
The ComponentCount property returns the number of child components, located on the parent component.
The Components property returns a child component, the index of which is passed via the input parameter.
The Data property is used to store any custom data.
The Name property determines the component name.
The Tag property is not used by the compiler. The user can change the value of this property and use it at his discretion.

Methods inherited from IMetabaseTreeList

  Method name Brief description
FindByDescriptor The FindByDescriptor method searches for a node in a component tree basing on a repository object description.
FindItemByKey The FindItemByKey method searches for a node in a component tree basing on a repository object key.
GetItemObject The GetItemObject method returns description of the repository object corresponding to the specified tree node.
SelectElem The SelectElem method selects the tree node corresponding to the specified repository object.
SelectElemKey The SelectElemKey method selects the tree node corresponding to a repository object with the specified key.

Methods inherited from ITreeList

  Method name Brief description
ShowFindDialog The ShowFindDialog method opens the dialog of element search in component.

Methods inherited from ITreeControl

  Method name Brief description
AdjustWidth The AdjustWidth method is used to automatically fit a column based on its contents.
GetItemAt The GetItemAt method allows to get the component element in the specified point.
HitTest The HitTest method is an extension of GetItemAt method.
Sort The Sort method sorts by the values of the specified column.
SortDefault The SortDefault method sorts by the values of column, index of which is specified in the SortColumn property.

Methods inherited from IControl

  Method name Brief description
Outdated. The BringToFront method brings a component to the foreground.
The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates.
The DoDragDrop method enables to start drag-and-drop operation.
The GetImage method returns a graphic presentation of a component together with all children.
The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system.
Outdated. The SendToBack method is used to send a component to the background.
The SetFocus method sets focus to this component.

Events

  Event name Brief description
OnGetElementPopup The OnGetElementPopup event occurs on opening the context menu for a tree element.
OnIsBrowseableElem The OnIsBrowseableElem event is used to set whether an element is displayed in a tree.
OnIsDynamicElem The OnIsDynamicElem event is used to set whether a tree of folder child elements is dynamically built.
OnIsEmptyFolder The OnIsEmptyFolder event is used to set whether a folder is empty.
OnIsFolderElem The OnIsFolderElem event is used to set whether elements displayed in the component tree are set as folders.

Events inherited from ITreeControl

   Event name Brief description
The OnBeginSearch event occurs when elements are started to be searched in the component.
The OnAdded event occurs when a new element is added.
The OnChecked event occurs when the element check box is selected.
The OnChecking event occurs, when the element check box is selected.
The OnCollapsed event occurs after collapsing the hierarchy of the tree node children.
The OnCollapsing event occurs before the collapsing of the hierarchy of the tree node children.
The OnColumnClick event occurs on mouse click on the component column header.
The OnCompareItems event occurs during comparing two elements during the user element sorting.
The OnDeleting event occurs, when the element is deleted.
The OnEdited event occurs on exiting the mode of editing the contents of the component current record field.
The OnEditing event occurs when changing to the mode for editing the field contents of the current component entry.
The OnExpanded event occurs after expanding the hierarchy of tree node children.
The OnExpanding event occurs directly before expanding the tree node children hierarchy.
The OnFocusedChanged event occurs on moving the focus to another component element.
The OnFocusedChanged event occurs, when the focus is moved to another component element.
The OnGetHint event occurs when a hint appears over the element, over which the mouse cursor is located.
The OnGetNodeImage event occurs on getting an image near the tree node.
The OnGetNodeStateImage event occurs on getting the status images near the tree element.
The OnHover event occurs on hovering over the element with mouse and underline it.
The OnSearch event occurs after the element search in the component is finished.
The OnSelected event occurs after selecting a node.
The OnSelecting event occurs before selecting a node.
The OnSelectionChanged event occurs when the componen element selection is changed.
The OnUnselected event occurs after deselecting a node.
The OnUnselecting event occurs before deselecting an element.

Events inherited from IControl

   Event name Brief description
The OnBeginDrag event occurs for a component, when a user starts to drag an object from the component.
The OnClick event occurs if a user clicks a component area using the main mouse button.
The OnControlMove event occurs when a component is moved.
The OnControlResize event occurs when a component is resized.
The OnDblClick event occurs if a user double-clicks a component area using the mouse button.
The OnDragDrop event occurs for a component if a user drops a dragged object over it.
The OnDragEnter event occurs when a dragged object crosses the borders of this component.
The OnDragLeave event occurs when a dragged object leaves the borders of this component.
The OnDragOver event occurs for this component when a user drags a dragged object over it.
The OnEnter event occurs when a component receives focus.
The OnExit event occurs when a component loses focus.
The OnHScroll event occurs when the horizontal scrollbar thumb changes its position.
The OnKeyDown event occurs if a component is focused and a keyboard key is pressed.
The OnKeyPress event occurs if a component is focused when a user presses a character key.
The OnKeyPreview event occurs prior to each event requiring clicking.
The OnKeyUp event occurs if a component is focused and a user releases any button previously pressed.
The OnMouseDown event occurs if the pointer is in component's area and a mouse key is pressed.
The OnMouseEnter event occurs when mouse cursor enters the component area.
The OnMouseHover event occurs when the mouse cursor is held in the component area.
The OnMouseLeave event occurs when mouse cursor leaves the component area.
The OnMouseMove event occurs on moving the cursor over component.
The OnMouseUp event occurs on releasing mouse button when the pointer is in component area.
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated.
The OnVScroll event occurs when the vertical scrollbar thumb changes its position.

See also:

ExtCtrls Assembly Classes