ListView

Description

The ListView class implements the ListView development environment component used to display collections of elements in various representations.

Properties inherited from IListView

  Property name Brief description
The Arrangement property determines the way of alignment of the elements in the component.
The AutoArrange property determines whether the elements should be arranged automatically in regular series when their number is changed.
The BorderStyle property determines style of the frame that outlines the component.
The Checkboxes property determines whether the component elements have checkboxes.
The ColumnClick property determines whether click is processed on column headers.
The Columns property returns collection of the component columns.
The FocusedItem property determines the component element that contains focus.
The GridLines property determines whether the lines of the gird should be displayed.
The HeaderMenu property determines context menu that is called on clicking the additional mouse button on the component header.
The HideSelection property indicated whether the selection is displayed in the component when the focus is passed to another component.
The HighlightTrack property determines whether to highlight element on mouse over.
The HotTrackStyles property determines style of the elements highlighting over which the mouse pointer hovers.
The HoverTime property determines the time interval on the expiry of which the element, over which the mouse cursor hovers, should be highlighted.
The ItemHeight property determines height of the component elements.
The Items property returns the collection of component elements.
The LargeImages property determines source of the large icons.
The MultiSelect property determines whether the multiple selection of the list elements is possible.
The ReadOnly property determines whether it is possible to make changes in the list.
The RowSelect property determines whether it is necessary to highlight the whole string of the selected element.
The SelectedCount property returns the number of selected elements in the component.
The SelectedItem property determines selected element of the component.
The ShowColumnHeaders property determines whether headers of the columns should be displayed.
The ShowHeaderButton property determines whether to show the button that opens column headers menu.
The ShowHints property determines whether the tooltip should appear if the mouse cursor is kept over the element.
The SmallImages property determines source of the small icons.
The SortColumn property determines index of the column by which the sorting is performed.
The SortType property determines type of sorting for the component.
The StateImages property determines the list of images that are used to indicate the state of elements.
The Style property determines style of the component elements displaying.
The TrackSelect property determines whether the component element should be selected if the mouse cursor is kept over it.
The WrapText property determines whether it is be possible to wrap the element text to several strings, if it exceeds the bounds of icon.

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 a component can accept a dragged object.
The Anchors property returns settings determining % 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 given component is focused.
The Font property defines the parameters of the font used to display text in a component.
The Heigth 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 you hover over a component.
The HintTimeout property sets for how long the tooltip is shown.
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 tooltip 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 at the form runtime.
The Width property determines the horizontal size of a component (pixels).

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components, located on the parent component.
Components The Components property returns child property, the index of which is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property specifies the component name.
Tag The compiler does not use the Tag property. A user can change the value of the Tag property and use it as he wishes.

Methods inherited from IListView

  Method name Brief description
The AdjustWidth method adjusts automatically width of the column considering its contents.
The GetItemAt method allows to receive element of the component in the specified point.
The HitTest method is an extension of the GetItemAt method.
The InsertControl method inserts a component to the component element area.

Methods inherited from IControl

   Method name Brief description
Outdated. The BringToFront method sends 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 allows to start dragging.
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
The OnChecked event occurs after selecting an element in the list.
The OnChecking event occurs when the user starts selecting a list element.
The OnColumnClick event occurs when the user clicks on the header of one of the columns of the component.
The OnCompareItems event occurs on comparing two elements when performing sorting in a column of the.
  The OnDeletion event occurs on removing an element from the component.
The OnEdited event occurs on exiting the edit mode of field contents of the current component record.
The OnEditing event occurs on switching to edit mode for the current component element.
The OnFocusChange event occurs when focus is shifted to another element of the component.
The OnFocusChanging event occurs before focus is changed for the component element.
The OnGetHint event occurs when the tooltip appears for the element over which the mouse cursor has stopped.
The OnHover event occurs when the mouse cursor hovers over the element and element of the component is underlined.
The OnInsert event occurs on inserting a new component element.
The OnSelectingItem event occurs before changing selection for the component element.
The OnSelectItem event occurs on changing selection for the component 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 enters the space 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 get focused.
The OnExit event occurs when a component loses focus.
The OnHScroll event occurs on changing position of horizontal scrollbar slider.
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 when the pointer is in component area and a mouse button is pressed.
The OnMouseEnter event occurs when mouse cursor enters the component area.
The OnMouseHover event occurs when mouse cursor is held in the component area.
The OnMouseLeave event occurs when mouse cursor leaves the component area.
The OnMouseMove event occurs when the mouse cursor moves over a component.
The OnMouseUp event occurs on releasing mouse button when the cursor is in component area.
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated.
The OnVScroll event occurs on changing position of vertical scrollbar slider.

See also:

Forms Assembly Classes