TCnListView Class

Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views

Namespace: CNClrLib.Control.ListView
TCustomControl
  CNClrLib.Control.Base.TClrCustomControl
    CNClrLib.Control.ListView.TCnListView
type
 TCnListView = class(TClrCustomControl)
 end;

The TCnListView type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnListView instance. (Overrides TClrCustomControl.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnListView instance. (Overrides TClrCustomControl.Destroy.)

Top
Show:
 NameDescription
AccessibleDescription

Gets or sets the description of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleName

Gets or sets the name of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleRole

Gets or sets the accessible role of the control (Inherited from TClrCustomControl.)

Activation

Gets or sets the type of action the user must take to activate an item.

Align

Determines how the control aligns within its container (parent control). (Inherited from TClrCustomControl.)

Alignment

Gets or sets the alignment of items in the control.

AllowColumnReorder

Gets or sets a value indicating whether the user can drag column headers to reorder columns in the control.

Anchors

Specifies how the control is anchored to its parent. (Inherited from TClrCustomControl.)

AutoArrange

Gets or sets whether icons are automatically kept arranged.

AutoScrollOffset

Gets or sets where this control is scrolled to in ScrollControlIntoView(Control). (Inherited from TClrCustomControl.)

AutoSize

Specifies whether the control sizes itself automatically to accommodate its contents. (Inherited from TClrCustomControl.)

BackColor

Represents property BackColor.

BackgroundImage

Represents property BackgroundImage.

BackgroundImageLayout

Gets or sets the background image layout as defined in the ImageLayout enumeration. (Inherited from TClrCustomControl.)

BackgroundImageTiled

Represents property BackgroundImageTiled.

BindingContext

Gets or sets the BindingContext for the control. (Inherited from TClrCustomControl.)

BorderStyle

Represents property BorderStyle.

Bottom

Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Inherited from TClrCustomControl.)

Bounds

Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from TClrCustomControl.)

CanSelect

Gets a value indicating whether the control can be selected. (Inherited from TClrCustomControl.)

Capture

Gets or sets a value indicating whether the control has captured the mouse. (Inherited from TClrCustomControl.)

CausesValidation

Represents property CausesValidation.

CheckBoxes

Gets or sets a value indicating whether a check box appears next to each item in the control.

CheckedIndices

Gets the indexes of the currently checked items in the control.

CheckedItems

Gets the currently checked items in the control.

CnDock

Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from TClrCustomControl.)

ColumnCollection

Gets the collection of all column headers that appear in the control.

Columns

Gets the collection of all column headers that appear in the control.

CompanyName

Gets the name of the company or creator of the application containing the control. (Inherited from TClrCustomControl.)

Constraints

Specifies the size constraints for the control. (Inherited from TClrCustomControl.)

ContainsFocus

Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from TClrCustomControl.)

ControlIntf

Get .Net Control object as interface. (Inherited from TClrCustomControl.)

Controls

Gets the collection of controls contained within the control. (Inherited from TClrCustomControl.)

Created

Gets a value indicating whether the control has been created. (Inherited from TClrCustomControl.)

DataBindings

Gets the data bindings for the control. (Inherited from TClrCustomControl.)

DefaultBackColor

Gets the default background color of the control. (Inherited from TClrCustomControl.)

DefaultClrObject

Gets the common language runtime object from this control. (Inherited from TClrCustomControl.)

DefaultFont

Gets the default font of the control. (Inherited from TClrCustomControl.)

DefaultForeColor

Gets the default foreground color of the control. (Inherited from TClrCustomControl.)

DotNetHandle

Gets the window handle that the .Net control is bound to. (Inherited from TClrCustomControl.)

DragCursor

Specifies the image used to represent the mouse pointer when the control is being dragged. (Inherited from TClrCustomControl.)

DragMode

Specifies how the control initiates drag-and-drop or drag-and-dock operations. (Inherited from TClrCustomControl.)

Enabled

Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from TClrCustomControl.)

FocusedItem

Gets or sets the item in the control that currently has focus.

Font

Represents property Font.

ForeColor

Represents property ForeColor.

FullRowSelect

Gets or sets a value indicating whether clicking an item selects all its subitems.

GridLines

Gets or sets a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control.

GroupCollection

Gets the collection of ListViewGroup objects assigned to the control.

Groups

Gets the collection of TCnListViewGroup objects assigned to the control.

HasChildren

Gets a value indicating whether the control contains one or more child controls. (Inherited from TClrCustomControl.)

HeaderStyle

Gets or sets the column header style.

HideSelection

Gets or sets a value indicating whether the selected item in the control remains highlighted when the control loses focus.

HotTracking

Gets or sets a value indicating whether the text of an item or subitem has the appearance of a hyperlink when the mouse pointer passes over it.

HoverSelection

Gets or sets a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds.

InsertionMark

Gets an object used to indicate the expected drop location when an item is dragged within a TCnListView control.

IsAccessible

Gets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from TClrCustomControl.)

IsHandleCreated

Gets a value indicating whether the control has a handle associated with it. (Inherited from TClrCustomControl.)

IsMirrored

Gets a value indicating whether the control is mirrored. (Inherited from TClrCustomControl.)

ItemCollection

Gets a collection containing all items in the control.

Items

Gets a collection containing all items in the control.

LabelEdit

Gets or sets a value indicating whether the user can edit the labels of items in the control.

LabelWrap

Gets or sets a value indicating whether item labels wrap when items are displayed in the control as icons.

LargeImageList

Gets or sets the TCnImageList to use when displaying items as large icons in the control.

ListViewIntf

Gets the .Net ListView object as interface.

ListViewItemSorter

Gets or sets the sorting comparer for the control.

Location

Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from TClrCustomControl.)

MaximumSize

Gets or sets the size that is the upper limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

MinimumSize

Gets or sets the size that is the lower limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

ModifierKeys

Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state. (Inherited from TClrCustomControl.)

MouseButtons

Gets a value indicating which of the mouse buttons is in a pressed state. (Inherited from TClrCustomControl.)

MousePosition

Gets the position of the mouse cursor in screen coordinates. (Inherited from TClrCustomControl.)

MultiSelect

Gets or sets a value indicating whether multiple items can be selected.

OnBackColorChanged

Represents property OnBackColorChanged.

OnBackgroundImageChanged

Represents property OnBackgroundImageChanged.

OnBindingContextChanged

Represents property OnBindingContextChanged.

OnClick

Represents property OnClick.

OnCursorChanged

Represents property OnCursorChanged.

OnDoubleClick

Represents property OnDoubleClick.

OnDragDrop

Occurs when a drag-and-drop operation is completed. (Inherited from TClrCustomControl.)

OnDragOver

Occurs when an object is dragged over the control's bounds. (Inherited from TClrCustomControl.)

OnEndDrag

Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. (Inherited from TClrCustomControl.)

OnEnter

Represents property OnEnter.

OnFontChanged

Represents property OnFontChanged.

OnForeColorChanged

Represents property OnForeColorChanged.

OnKeyDown

Represents property OnKeyDown.

OnKeyPress

Represents property OnKeyPress.

OnKeyUp

Represents property OnKeyUp.

OnLeave

Represents property OnLeave.

OnMouseCaptureChanged

Represents property OnMouseCaptureChanged.

OnMouseClick

Represents property OnMouseClick.

OnMouseDoubleClick

Represents property OnMouseDoubleClick.

OnMouseDown

Represents property OnMouseDown.

OnMouseEnter

Represents property OnMouseEnter.

OnMouseHover

Represents property OnMouseHover.

OnMouseLeave

Represents property OnMouseLeave.

OnMouseMove

Represents property OnMouseMove.

OnMouseUp

Represents property OnMouseUp.

OnPropertyChange

Occurs when the published property of the control changes. (Inherited from TClrCustomControl.)

OwnerDraw

Gets or sets a value indicating whether the TCnListView control is drawn by the operating system or by code that you provide.

PopupMenu

Specifies the pop-up menu associated with the control. (Inherited from TClrCustomControl.)

ProductName

Gets the product name of the assembly containing the control. (Inherited from TClrCustomControl.)

ProductVersion

Gets the version of the assembly containing the control. (Inherited from TClrCustomControl.)

Right

Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Inherited from TClrCustomControl.)

RightToLeftLayout

Gets or sets a value indicating whether the control is laid out from right to left.

Scrollable

Gets or sets a value indicating whether a scroll bar is added to the control when there is not enough room to display all items.

SelectedIndices

Gets the indexes of the selected items in the control.

SelectedItems

Gets the items that are selected in the control.

ShowGroups

Gets or sets a value indicating whether items are displayed in groups.

ShowItemToolTips

Gets or sets a value indicating whether ToolTips are shown for the TCnListViewItem objects contained in the TCnListView.

Size

Gets or sets the height and width of the control. (Inherited from TClrCustomControl.)

SmallImageList

Gets or sets the TCnImageList to use when displaying items as small icons in the control.

Sorting

Gets or sets the sort order for items in the control.

StateImageList

Gets or sets the TCnImageList associated with application-defined states in the control.

TabOrder

Indicates the position of the control in its parent's tab order. (Inherited from TClrCustomControl.)

TabStop

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from TClrCustomControl.)

Text

Gets or sets the text associated with this control. (Inherited from TClrCustomControl.)

TileSize

Gets or sets the size of the tiles shown in tile view.

ToolTip

Associates ToolTip control with this control. (Inherited from TClrCustomControl.)

TooltipText

The ToolTip text to display when the pointer is on the control. (Inherited from TClrCustomControl.)

TopItem

Gets or sets the first visible item in the control.

UseCompatibleStateImageBehavior

Gets or sets a value indicating whether the ListView uses state image behavior that is compatible with the .NET Framework 1.1 or the .NET Framework 2.0.

UseWaitCursor

Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from TClrCustomControl.)

View

Gets or sets how items are displayed in the control.

VirtualListSize

Gets or sets the number of TCnListViewItem objects contained in the list when in virtual mode.

VirtualMode

Gets or sets a value indicating whether you have provided your own data-management operations for the TCnListView control.

Visible

Gets or sets a value indicating whether the control and all its child controls are displayed. (Inherited from TClrCustomControl.)

Top
Show:
 NameDescription
AdjustSize

Adjusts the control's size according to its contents and constraints. (Inherited from TClrCustomControl.)

ArrangeIcons

Overloaded. Arranges items in the control when they are displayed as icons based on the value of the Alignment property.

ArrangeIcons(TListViewAlignment)

Overloaded. Arranges items in the control when they are displayed as icons with a specified alignment setting.

AutoResizeColumn(Integer,TColumnHeaderAutoResizeStyle)

Resizes the width of the given column as indicated by the resize style.

AutoResizeColumns(TColumnHeaderAutoResizeStyle)

Resizes the width of the columns as indicated by the resize style.

BeginUpdate

Prevents the control from drawing until the EndUpdate() method is called.

CanAutoSize(Integer,Integer)

Indicates how the control can be resized. (Inherited from TClrCustomControl.)

CanFocus

Indicates whether a control can receive focus. (Inherited from TClrCustomControl.)

CanResize(Integer,Integer)

Indicates how the control can respond to a resize attempt (Inherited from TClrCustomControl.)

ChangeScale(Integer,Integer)

Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed. (Inherited from TClrCustomControl.)

Clear

Removes all items and columns from the control.

CreateControl

Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from TClrCustomControl.)

CreateGraphics

Creates the Graphics for the control. (Inherited from TClrCustomControl.)

CreateHandle

Creates a handle for the control. (Inherited from TClrCustomControl.)

CreateParams(TCreateParams)

Initializes the window-creation parameter record when the form window is created. (Inherited from TClrCustomControl.)

DblClick

OnDblClick event dispatcher. (Inherited from TClrCustomControl.)

DoAddDockClient(TControl,TRect)

Performs actions when a control is docked to the windowed control. (Inherited from TClrCustomControl.)

DoBackColorChange(TObject)

Performs actions when a control BackColor changes. (Inherited from TClrCustomControl.)

DoBackgroundImageChange(TObject)

Performs actions when a control BackgroundImage changes. (Inherited from TClrCustomControl.)

DockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Responds when a docking client is dragged over the windowed control. (Inherited from TClrCustomControl.)

DockReplaceDockClient(TControl,TWinControl,TControl,TAlign,TControl)

Invalidates the first dock site in the list of child controls. (Inherited from TClrCustomControl.)

DoDockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Generates an OnDockOver event. (Inherited from TClrCustomControl.)

DoEnter

Respond to receiving input focus. (Inherited from TClrCustomControl.)

DoExit

Responds to losing input focus. (Inherited from TClrCustomControl.)

DoFontChange(TObject)

Performs actions when a control Font changes. (Inherited from TClrCustomControl.)

DoForeColorChange(TObject)

Performs actions when a control ForeColor changes. (Inherited from TClrCustomControl.)

DoGetControlClientRectangle

Gets the rectangle that represents the client area of the control. (Overrides TClrCustomControl.DoGetControlClientRectangle.)

DoGetDefaultBorderStyle

Gets the default border type of the control. (Overrides TClrCustomControl.DoGetDefaultBorderStyle.)

DoGetDotNetBaseControl

Gets the base .Net control. (Overrides TClrCustomControl.DoGetDotNetBaseControl.)

DoGetDotNetControlDefaultHeight

Gets the default height of the control. (Overrides TClrCustomControl.DoGetDotNetControlDefaultHeight.)

DoGetDotNetControlDefaultWidth

Gets the default Width of the control. (Overrides TClrCustomControl.DoGetDotNetControlDefaultWidth.)

DoGetDotNetControlHandle

Gets the window handle that the control is bound to. (Inherited from TClrCustomControl.)

DoInitializeDotNetControl

Creates and initializes the .Net control. (Inherited from TClrCustomControl.)

DoLocationChange(TObject)

Performs actions when a control Location changes. (Inherited from TClrCustomControl.)

DoMaximumSizeChange(TObject)

Performs actions when a control MaximumSize changes. (Inherited from TClrCustomControl.)

DoMinimumSizeChange(TObject)

Performs actions when a control MinimumSize changes. (Inherited from TClrCustomControl.)

DoMouseWheel(TShiftState,Integer,TPoint)

Processes mouse wheel motion. (Inherited from TClrCustomControl.)

DoMouseWheelDown(TShiftState,TPoint)

Is an OnMouseWheelDown event dispatcher. (Inherited from TClrCustomControl.)

DoMouseWheelUp(TShiftState,TPoint)

Is an OnMouseWheelUp event dispatcher. (Inherited from TClrCustomControl.)

DoSetControlBorderStyle(TBorderStyle_)

Sets the border type of the control. (Overrides TClrCustomControl.DoSetControlBorderStyle(TBorderStyle_).)

DoSetControlStyles(TControlStyles_Set,Boolean)

Set the style of the control. (Inherited from TClrCustomControl.)

DoSetDotNetControlParent

Specifies the parent of the control. (Inherited from TClrCustomControl.)

DoShowContextMenu(TPoint)

Represents method DoShowContextMenu(TPoint). (Inherited from TClrCustomControl.)

DoSizeChange(TObject)

Performs actions when a control Size changes. (Inherited from TClrCustomControl.)

DoSupportTextProperty

Check if the Text property is supported by the control. (Inherited from TClrCustomControl.)

DoTileSizeChange(TObject)

Represents method DoTileSizeChange(TObject).

DoUseClrContainer

Specify whether to use the common language runtime usercontrol container to host the .Net control. (Inherited from TClrCustomControl.)

DrawToBitmap(TBitmap,TRect)

Supports rendering to the specified bitmap. (Inherited from TClrCustomControl.)

EndUpdate

Resumes drawing of the list view control after drawing is suspended by the BeginUpdate() method.

EnsureVisible(Integer)

Ensures that the specified item is visible within the control, scrolling the contents of the control if necessary.

FindItemWithText(String)

Overloaded. Finds the first TCnListViewItem that begins with the specified text value.

FindItemWithText(String,Boolean,Integer)

Overloaded. Finds the first TCnListViewItem or TCnListViewSubItem, if indicated, that begins with the specified text value. The search starts at the specified index.

FindItemWithText(String,Boolean,Integer,Boolean)

Overloaded. Finds the first TCnListViewItem or TCnListViewSubItem, if indicated, that begins with the specified text value. The search starts at the specified index.

FindNearestItem(TSearchDirectionHint,Integer,Integer)

Overloaded. Finds the next item from the given point, searching in the specified direction.

FindNearestItem(TSearchDirectionHint,_Point)

Overloaded. Finds the next item from the given x- and y-coordinates, searching in the specified direction.

Focus

Sets input focus to the control. (Inherited from TClrCustomControl.)

Focused

Determines whether the control has input focus. (Inherited from TClrCustomControl.)

GetClrObject

Get the common language runtime object from the internal control interface. (Inherited from TClrCustomControl.)

GetItemAt(Integer,Integer)

Retrieves the item at the specified location.

GetItemRect(Integer)

Overloaded. Retrieves the bounding rectangle for a specific item within the list view control.

GetItemRect(Integer,TItemBoundsPortion)

Overloaded. Retrieves the specified portion of the bounding rectangle for a specific item within the list view control.

HitTest(Integer,Integer)

Overloaded. Provides item information, given x- and y-coordinates.

HitTest(_Point)

Overloaded. Provides item information, given a point.

Invalidate

Overloaded. Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from TClrCustomControl.)

Invalidate(Boolean)

Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect,Boolean)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

IsKeyLocked(TKeys_Set)

Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect. (Inherited from TClrCustomControl.)

IsMnemonic(WCHAR,String)

Determines if the specified character is the mnemonic character assigned to the control in the specified string. (Inherited from TClrCustomControl.)

KeyDown(Word,TShiftState)

Responds to key press events. (Inherited from TClrCustomControl.)

KeyPress(Char)

Responds to keyboard input. (Inherited from TClrCustomControl.)

KeyUp(Word,TShiftState)

Respond to released key. (Inherited from TClrCustomControl.)

MouseDown(TMouseButton,TShiftState,Integer,Integer)

OnMouseDown event dispatcher. (Inherited from TClrCustomControl.)

MouseMove(TShiftState,Integer,Integer)

Responds to mouse moving over control area. (Inherited from TClrCustomControl.)

MouseUp(TMouseButton,TShiftState,Integer,Integer)

Is an OnMouseUp event dispatcher. (Inherited from TClrCustomControl.)

Notification(TComponent,TOperation)

Represents method Notification(TComponent,TOperation). (Overrides TClrCustomControl.Notification(TComponent,TOperation).)

Paint

Renders the image of a windowed control. (Inherited from TClrCustomControl.)

PerformLayout

Overloaded. Forces the control to apply layout logic to all its child controls. (Inherited from TClrCustomControl.)

PropertyChanged

Responds to change in the published properties of the control. (Inherited from TClrCustomControl.)

QueryInterface(TGUID,Void)

Returns a reference to a specified interface if that interface is supported by the control. (Inherited from TClrCustomControl.)

RedrawItems(Integer,Integer,Boolean)

Forces a range of TCnListViewItem objects to be redrawn.

Refresh

Forces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from TClrCustomControl.)

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrCustomControl.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrCustomControl.)

Repaint

Repaints the entire control. (Inherited from TClrCustomControl.)

ResetBackColor

Resets the BackColor property to its default value. (Inherited from TClrCustomControl.)

ResetBindings

Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values (Inherited from TClrCustomControl.)

ResetCursor

Resets the Cursor property to its default value. (Inherited from TClrCustomControl.)

ResetFont

Resets the Font property to its default value. (Inherited from TClrCustomControl.)

ResumeLayout

Overloaded. Resumes usual layout logic. (Inherited from TClrCustomControl.)

ResumeLayout(Boolean)

Overloaded. Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from TClrCustomControl.)

Scale(TSizeF)

Scales the control and all child controls by the specified scaling factor. (Inherited from TClrCustomControl.)

Select

Activates a control. (Inherited from TClrCustomControl.)

SetAutoSize(Boolean)

Sets the value of the AutoSize property. (Inherited from TClrCustomControl.)

SetBorderStyle(TBorderStyle)

Sets the value of the BorderStyle property. (Inherited from TClrCustomControl.)

SetBounds(Integer,Integer,Integer,Integer)

Sets the windowed control's boundary properties all at once. (Inherited from TClrCustomControl.)

SetName(TComponentName)

Sets the name of the control. (Inherited from TClrCustomControl.)

SetText(String)

Sets the text of the control. (Inherited from TClrCustomControl.)

Sort

Sorts the items of the list view.

SuspendLayout

Temporarily suspends the layout logic for the control. (Inherited from TClrCustomControl.)

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrCustomControl.)

UnRegisterEventSource

Represents method UnRegisterEventSource. (Inherited from TClrCustomControl.)

Update

Causes the control to redraw the invalidated regions within its client area. (Inherited from TClrCustomControl.)

UpdateDotNetControlSize

Updates .Net control size. (Inherited from TClrCustomControl.)

UpdateStyleElements

Invalidates a specific region of the control and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

WndProc(TMessage)

Provides specific message responses for the control. (Inherited from TClrCustomControl.)

_AddRef

Called when an application uses a component interface. (Inherited from TClrCustomControl.)

_Release

Called when an application releases a component interface. (Inherited from TClrCustomControl.)

Top
Show:
 NameDescription
AfterLabelEdit

Occurs when the label for an item is edited by the user.

BeforeLabelEdit

Occurs when the user starts editing the label of an item.

OnCacheVirtualItems

Occurs when the contents of the display area for a TCnListView in virtual mode has changed, and the TCnListView determines that a new range of items is needed.

OnCausesValidationChanged

Occurs when the value of the CausesValidation property changes. (Inherited from TClrCustomControl.)

OnClientSizeChanged

Occurs when the value of the ClientSize property changes. (Inherited from TClrCustomControl.)

OnColumnClick

Occurs when the user clicks a column header within the list view control.

OnColumnReordered

Occurs when the column header order is changed.

OnColumnWidthChanged

Occurs after the width of a column is successfully changed.

OnColumnWidthChanging

Occurs when the width of a column is changing.

OnDrawColumnHeader

Occurs when the details view of a TCnListView is drawn and the OwnerDraw property is set to true.

OnDrawItem

Occurs when a TCnListView is drawn and the OwnerDraw property is set to true.

OnDrawSubItem

Occurs when the details view of a TCnListView is drawn and the OwnerDraw property is set to true.

OnEnabledChanged

Occurs when the Enabled property value has changed. (Inherited from TClrCustomControl.)

OnGotFocus

Occurs when the control receives focus. (Inherited from TClrCustomControl.)

OnInvalidated

Occurs when a control's display requires redrawing. (Inherited from TClrCustomControl.)

OnItemActivate

Occurs when an item is activated.

OnItemCheck

Occurs when the check state of an item changes.

OnItemChecked

Occurs when the checked state of an item changes.

OnItemDrag

Occurs when the user begins dragging an item.

OnItemMouseHover

Occurs when the mouse hovers over an item.

OnItemSelectionChanged

Occurs when the selection state of an item changes.

OnLostFocus

Occurs when the control loses focus. (Inherited from TClrCustomControl.)

OnMouseWheel

Occurs when the mouse wheel moves while the control has focus. (Inherited from TClrCustomControl.)

OnMove

Occurs when the control is moved. (Inherited from TClrCustomControl.)

OnPaint

Occurs when the control is redrawn. (Inherited from TClrCustomControl.)

OnPreviewKeyDown

Occurs before the OnKeyDown event when a key is pressed while focus is on this control. (Inherited from TClrCustomControl.)

OnResize

Occurs when the control is resized. (Inherited from TClrCustomControl.)

OnRetrieveVirtualItem

Occurs when the TCnListView is in virtual mode and requires a TCnListViewItem.

OnRightToLeftLayoutChanged

Occurs when the value of the RightToLeftLayout property changes.

OnSearchForVirtualItem

Occurs when the TCnListView is in virtual mode and a search is taking place.

OnSelectedIndexChanged

Occurs when the SelectedIndices collection changes.

OnSizeChanged

Occurs when the Size property value changes. (Inherited from TClrCustomControl.)

OnSystemColorsChanged

Occurs when the system colors change. (Inherited from TClrCustomControl.)

OnTabIndexChanged

Occurs when the TabOrder/TabIndex property value changes. (Inherited from TClrCustomControl.)

OnTabStopChanged

Occurs when the TabStop property value changes. (Inherited from TClrCustomControl.)

OnTextChanged

Occurs when the Text property value changes. (Inherited from TClrCustomControl.)

OnValidated

Occurs when the control is finished validating. (Inherited from TClrCustomControl.)

OnValidating

Occurs when the control is validating. (Inherited from TClrCustomControl.)

OnVirtualItemsSelectionRangeChanged

Occurs when a TCnListView is in virtual mode and the selection state of a range of items has changed.

OnVisibleChanged

Occurs when the Visible property value changes. (Inherited from TClrCustomControl.)

Top

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this control.