Vcl.ComCtrls.TCustomListView Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
ActionChangeprotectedResponds when the action for which this list view is a client changes.
AddBiDiModeExStyleprotectedSets control's window style according to its bi-directional support.
AddItempublicAdds an item to the list control.
AdjustClientRectprotectedProvides the interface that adjusts the ClientRect property for idiosyncrasies of the window.
AdjustSizeprotectedAdjusts the control's size according to its contents and constraints.
AfterConstructionpublicResponds after the last constructor has executed.
AlignControlsprotectedAligns any controls for which the control is the parent within a specified area of the control.
AlphaSortpublicSorts the items in the list view.
ArrangepublicArranges icons in a list view that has a ViewStyle of vslcon or vsSmallIcon.
ArrangeControlprotectedAligns the given control with the specified alignment options.
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of the windowed control to another object.
AsyncScheduleprotected
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginAutoDragprotectedBegins automatic drag.
BeginDragpublicStarts the dragging of a control.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
BringToFrontpublicPuts the control in front of all other controls in its parent control.
BroadcastpublicSends a message to each of the child controls.
CalcCursorPosprotectedGives the coordinates of the cursor, with respect to the origin of the control.
CanAutoSizeprotectedIndicates how the control can be resized.
CanChangeprotectedSpecifies whether the properties of a list item can be changed.
CanEditprotectedSpecifies whether the text of a list item can be changed by the user.
CanFocuspublicIndicates whether a control can receive focus.
CanObserveprotected
CanResizeprotectedIndicates how the control can respond to a resize attempt.
ChangeprotectedGenerates an OnChange event.
ChangedprotectedSends a CM_CHANGED message to the control.
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
ChangeScaleprotectedRescaling event dispatcher
CheckDisposedprotectedThis method is deprecated.
CheckNonMainThreadUsagepublicRaised an EInvalidOperation exception when called on a non-main thread and RaiseOnNonMainThreadUsage is set to True.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClearpublicDeletes all of the items from the list control.
ClearSelectionpublicRemoves the selection, leaving all items unselected.
ClickprotectedRespond to user click.
ClientToParentpublicTranslates client coordinates to parent coordinates.
ClientToScreenpublicTranslates a given point from client area coordinates to global screen coordinates.
ColClickprotectedColumn click event dispatcher.
ColRightClickprotectedColumn right-click event dispatcher.
ColumnsShowingprotectedIndicates whether the ViewStyle property is vsReport.
ConstrainedResizeprotectedGenerates an OnConstrainedResize event.
ContainsControlpublicIndicates whether a specified control exists within the control.
ControlAtPospublicReturns the child control located at a specified position within the control.
ControlsAlignedprotectedControlsAligned automatically executes after a call to AlignControls.
CopySelectionpublicCopies the selected item or items to another TCustomListControl descendant.
CreatepublicCreates and initializes an instance of TCustomListView.
CreateDockManagerprotectedCreates the dock manager for the control.
CreateHandleprotectedCreates underlying screen object.
CreateListItemprotectedCreates a list item for the collection specified by the Items property.
CreateListItemsprotectedCreates the TListItems object that implements the Items property.
CreateParamsprotectedInitializes the window-creation parameter record.
CreateParentedpublicCreates and initializes a control as the child of a specified non-VCL container.
CreateParentedControlpublicCreates and initializes a control as the child of a specified non-VCL window.
CreateSubClassprotectedCreates a windowed control derived from an existing Windows window class.
CreateTouchManagerprotectedInstantiates a touch manager.
CreateWindowHandleprotectedCreates a Windows control to represent the control.
CreateWndprotectedCreates the window used by the list view.
CustomAlignInsertBeforeprotectedReturns placement order of custom-aligned child control.
CustomAlignPositionprotectedReturns aligned position of custom-aligned child control.
CustomDrawprotectedCustom draw event dispatcher.
CustomDrawItemprotectedCustom draw item event dispatcher.
CustomDrawSubItemprotectedCustom draw subitem event dispatcher.
CustomSortpublicSorts the items in the list using the specified ordering function.
DblClickprotectedOnDblClick event dispatcher.
DefaultDockImageprotectedHandles the painting and erasing of a dock image.
DefaultHandlerpublicProvides message handling for all messages that the control does not fully process by itself.
DefaultScalingFlagsprotected
DefinePropertiesprotected
DeleteprotectedRemoves an item from the list view and frees the associated memory.
DeleteSelectedpublicDeletes all the selected items.
DesignWndProcprotectedProcesses the given message and returns some Boolean information based on the message's content.
DestroypublicDestroys an instance of TCustomListView.
DestroyComponentspublicDestroys all owned components.
DestroyHandleprotectedDestroys the control's window without destroying the control.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DestroyWindowHandleprotectedDestroys the window created in the CreateWindowHandle method.
DestroyWndprotectedDestroys the window referenced by the list view's window handle.
DisableAlignpublicDisables the realignment of child controls.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoAddDockClientprotectedPerforms actions when a control is docked to the windowed control.
DockpublicUsed internally to dock the control.
DockDroppublicGenerates an OnDockDrop event.
DockOverprotectedResponds when a docking client is dragged over the windowed control.
DockReplaceDockClientprotectedInvalidates the first dock site in the list of child controls.
DockTrackNoTargetprotectedHandles dragging of the control over an invalid docking target.
DoContextPopupprotectedIs an OnContextPopup event dispatcher.
DoDockprotectedDocking event dispatcher.
DoDockOverprotectedGenerates an OnDockOver event.
DoEndDockprotectedIs an OnEndDock event dispatcher.
DoEndDragprotectedDrag end event dispatcher.
DoEnterprotectedRespond to receiving input focus.
DoExitprotectedResponds to losing input focus.
DoFlipChildrenprotectedFlips the control's children.
DoGestureprotected
DoGetGestureOptionsprotectedReturns the interactive gestures and their options.
DoHandleStyleMessageprotected
DoInfoTipprotectedInfoTip event dispatcher.
DoKeyDownprotectedPerforms some preprocessing before generating an OnKeyDown event.
DoKeyPressprotectedPerforms some preprocessing before generating an OnKeyPress event.
DoKeyUpprotectedPerforms some preprocessing before generating an OnKeyUp event.
DoMouseWheelprotectedProcesses mouse wheel motion.
DoMouseWheelDownprotectedIs an OnMouseWheelDown event dispatcher.
DoMouseWheelUpprotectedIs an OnMouseWheelUp event dispatcher.
DoRemoveDockClientprotectedResponds when a control is undocked from the windowed control.
DoSelectItemprotected
DoStartDockprotectedIs an OnStartDockevent dispatcher.
DoStartDragprotectedStart drag event dispatcher..
DoUnDockprotectedUndocks a control that is currently docked to the windowed control.
DoWritePixelsPerInchprotected
DragCanceledprotectedProvides the interface for a method that responds to the cancellation of a drag.
DragDroppublicIs an OnDragDrop event dispatcher.
DraggingpublicIndicates whether a control is being dragged.
DragOverprotectedIs an OnDragOver event dispatcher.
DrawDragDockImageprotectedDraws the dock image for the control.
DrawItemprotectedDraw item event dispatcher.
DrawTextBiDiModeFlagspublicReturns the text flags that reflect the current setting of the BiDiMode property.
DrawTextBiDiModeFlagsReadingOnlypublicReturns the text flag to add that indicates whether the control's text should read from right to left.
EditprotectedEdit event dispatcher.
EnableAlignpublicDecrements the reference count incremented by the DisableAlign method, eventually realigning the child controls.
EndDragpublicStops a control from being dragged any further.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
EraseDragDockImageprotectedErases the dock image for the control.
ExecuteActionpublicExecutes an action.
FieldAddresspublicReturns the address of a published object field.
FindCaptionpublicReturns a list view item, if any, with the specified caption.
FindChildControlpublicReturns a child control given its name.
FindComponentpublicIndicates whether a given component is owned by the component.
FindDatapublicReturns a list view item, if any, associated with the specified data.
FindNextControlprotectedReturns the control's next child in the tab order after the specified control.
FixupTabListprotectedSorts the child controls by their tab order.
FlipChildrenpublicReverses the positions of child controls.
FocusedpublicDetermines whether the control has input focus.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetActionprotectedReturns the value of the Action property.
GetActionLinkClassprotectedReturns the action link class that is associated with list view controls.
GetAllocatedWindowHandleprotected
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenpublicCalls a specified method for each child of the control.
GetClientOriginprotectedReturns the value of the ClientOrigin property.
GetClientRectprotectedReturns the value of the ClientRect property.
GetControlExtentsprotectedReturns the smallest rectangle in which all the control's children fit.
GetControlsAlignmentpublicIndicates how text is aligned within the control.
GetCountpublicReturns the number of items in the list.
GetCurrentPPIprotected
GetCurrentPPIScreenprotected
GetDeltaStreamsprotected
GetDesignDpiprotectedObtains the design Dpi for the form where the control was designed.
GetDeviceContextprotectedProvides access to a device context for the control.
GetDisposedprotectedGetter for the Disposed property.
GetDockEdgeprotectedReturns the edge on which another control should be docked when it is dragged over the control.
GetDPIForDesignerprotected
GetDragImagespublicReturns a drag cursor if a list item is being dragged.
GetDragModeprotectedReturns the value of the DragMode property.
GetEnabledprotectedReturns the value of the Enabled property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetFloatingprotectedReturns the value of the Floating property.
GetFloatingDockSiteClassprotectedReturns the class used for the control when it is floating.
GetHashCodepublicReturns an integer containing the hash code.
GetHitTestInfoAtpublicReturns information about the specified point in the list view's client area.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetItemAtpublicReturns the list item at the specified position.
GetItemIndexprotectedReturns the index of the specified item in the Items property array.
GetListColumnsClassprotected
GetNamePathpublicReturns a string used by the Object Inspector.
GetNearestItempublicReturns the list item nearest a specified point, in a particular direction.
GetNextItempublicReturns the next list item after the StartItem in the specified Direction.
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetPaletteprotectedReturns the handle to a palette for use by the control.
GetParentComponentpublicReturns the parent of the control.
GetParentCurrentDpiprotectedObtains the current Dpi for parent control, or the current control Dpi if there is no parent.
GetParentHandleprotectedReturns the window handle for the window of the control's parent.
GetPixelsPerInchprotected
GetPopupMenuprotectedReturns the pop-up menu associated with the control.
GetSearchStringpublicReturns the incremental search string of a list view control.
GetSelCountprotectedReturns the value of the SelCount property.
GetSiteInfoprotectedGenerates an OnGetSiteInfo event.
GetStyleNamepublicReturns a string specifying the name of this component style.
GetSystemMetricspublicReturns Windows metrics for a control.
GetTabControlListpublicBuilds a list of owned controls.
GetTabOrderListpublicBuilds a list of controls in tab order.
GetTextBufpublicRetrieves the control's text, copies it into a buffer, and returns the number of characters copied.
GetTextLenpublicReturns the length of the control's text.
GetTopParentHandleprotectedReturns the window handle of the first window not associated with a VCL control that contains the windowed control.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
HandleAllocatedpublicReports whether a screen object handle exists for the control.
HandleNeededpublicCreates a screen object for the control if it doesn't already exist.
HasParentpublicIndicates whether the control has a parent.
HidepublicMakes the control invisible.
InheritsFrompublicDetermines the relationship of two object types.
InitiateActionpublicCalls the action link's Update method if the control is associated with an action link.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InsertControlpublicInserts a control into the Controls array property.
InsertItemprotectedGenerates an OnInsert event.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvalidatepublicSchedules a control repaint.
InvalidateDockHostSiteprotectedInvalidates the first dock site that appears in the list of child controls.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
InvokeAsyncCallsprotectedProcesses pending asynchronous method calls listed in FAsyncList.
IsControlActivateMsgprotectedIndicates whether a specified mouse activation message is directed to the given child control.
IsControlMouseMsgprotectedIndicates whether a specified mouse message is directed to one of the windowed control's child controls.
IsCustomDrawnprotectedDetermines when custom draw event handlers are called.
IsCustomStyleActivepublicIndicates whether the active style is a custom style.
IsEditingpublicIndicates whether any item in the list view is being edited.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
IsLightStyleColorpublicReturns True when AColor is a light color.
IsQualifyingSiteprotectedChecks whether the control is docked inside another control or has at least two docked controls.
IsRightToLeftpublicIndicates whether the control should be reversed right to left.
IsTouchPropertyStoredprotected
KeyDownprotectedResponds to key press events.
KeyPressprotectedResponds to keyboard input.
KeyUpprotectedRespond to released key.
Loadedprotected
LockDrawingpublicCall LockDrawing method to prevent changes in that control from being redrawn.
MainWndProcprotectedReceives Windows messages for the control.
ManualDockpublicDocks the control.
ManualFloatpublicUndocks the control.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MouseActivateprotectedTriggers a TMouseActivateEvent event.
MouseDownprotectedOnMouseDown event dispatcher.
MouseMoveprotectedResponds to mouse moving over control area.
MouseUpprotectedMouse button up event dispatcher.
MouseWheelHandlerpublicDispatches messages received from a mouse wheel.
MoveSelectionpublicMoves all selected items to another list control.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NotificationprotectedResponds to notifications that components are about to be created or destroyed.
NotifyControlsprotectedSends a message to all the child controls.
ObserverAddedprotected
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
OwnerDataFetchprotectedCustomizes a list view item before it is displayed.
OwnerDataFindprotectedSearches for an item in the list view control.
OwnerDataHintprotectedSpecifies a range of items that might be fetched.
OwnerDataStateChangeprotectedSpecifies items that have changed states.
PaintControlsprotectedPaints each of the child controls in a windowed control using the specified device context.
PaintHandlerprotectedResponds to WM_PAINT messages.
PaintTopublicDraws the windowed control to a device context.
PaintWindowprotectedRenders the image of a windowed control.
PaletteChangedprotectedResponds to changes in the system's palette by realizing the control's palette and the palette for each child control.
ParentToClientpublicTranslate parent coordinates to client coordinates.
PerformpublicResponds as if the control received a specified Windows message.
PositionDockRectprotectedPositions the docking rectangle according to the current drag-and-dock state.
PreProcessMessagepublicReturns False, no matter the value of Msg.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedPrepares the control for having its properties assigned values from a stream.
RealignpublicForces the control to realign children.
RecreateWndprotectedRecreate underlying Windows screen object.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RefreshpublicRepaints the control on the screen.
ReloadDockedControlprotectedReloads a docked control.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveControlpublicRemoves a specified control from the Controls array.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
RemoveWindowPropsprotectedRemoves the ControlAtom and WindowAtom properties of the control.
RepaintpublicRepaints the entire control.
ReplaceDockedControlpublicDocks the control in the place where another control is already docked.
RequestAlignprotected
ResetImeprotectedRestores the input method editor (IME) that was active when the application started.
ResetImeCompositionprotectedDirects the composition window of the input method editor (IME) to perform a specific action.
ResizeprotectedRespond to control resize.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
ScaleBypublicRescale control and its children.
ScaleConstraintsprotectedScales the values of the Constraints property to the given ratio.
ScaleControlsprotectedRescale child controls only.
ScaleControlsForDpiprotectedScales all the contained controls to the NewPPI value.
ScaleForPPIpublicAdjusts the scaling of the current control and its children for the specified Pixels Per Inch (PPI).
ScaleMarginsprotectedScales the values of the Margins property to the given ratio.
ScalePaddingprotectedScales the control padding to the given ratio.
ScaleRectSizepublicScales Value rectangle size using the current ScaleFactor.
ScaleValuepublicThe overloaded ScaleValue methods return a measure passed as parameter scaled by the current scale factor for the control (the value of the ScaleFactor read-only property).
ScreenToClientpublicConverts the screen coordinates of a specified point on the screen to client coordinates.
ScrollpublicScrolls the content of a list view by the indicated amount.
ScrollBypublicScroll control contents.
SelectAllpublicSelects all items or all text in the selected item.
SelectFirstprotectedLocates first selectable child control.
SelectNextprotectedMoves the input focus from the current child control to the next one in the tab order.
SendCancelModeprotectedCancels the modal state of the control.
SendDockNotificationprotectedSends a Windows message to the control's host dock site.
SendToBackpublicPuts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetAutoSizeprotectedSets the value of the AutoSize property.
SetBiDiModeprotectedSets the control's bidirectional mode.
SetBoundspublicSets the windowed control's boundary properties all at once.
SetChildOrderprotectedChanges the order in which the child component appears in the list of child components returned by the GetChildren method.
SetCustomHintprotectedSets the value of the CustomHint property.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignVisiblepublicMakes this control visible at design time.
SetDragModeprotectedSets the drag mode for the control.
SetEnabledprotectedSets the value of the Enabled property.
SetFocuspublicGives the input focus to the control.
SetImeprotectedActivates an input method editor (IME) using the values specified by the ImeMode and ImeName properties.
SetImeCompositionWindowprotectedSets the position and font of the composition window.
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetItemIndexprotectedSets the value of the ItemIndex property.
SetMultiSelectprotectedSets the value of the MultiSelect property.
SetNameprotectedSets the name of the control.
SetParentprotected
SetParentBackgroundprotectedSets the ParentBackground property.
SetParentBiDiModeprotectedSpecifies whether the control uses its parent's BiDiMode.
SetParentComponentpublicSets the parent for the control.
SetParentDoubleBufferedprotectedSets the ParentBackground property.
SetPixelsPerInchprotected
SetStyleElementsprotected
SetStyleNameprotected
SetSubComponentpublicIdentifies whether the component is a subcomponent.
SetTextBufpublicSets the text of the control.
SetViewStyleprotectedSets the value of the ViewStyle property.
SetZOrderprotectedMoves the control to the top or bottom of the parent control's (or screen's) list of TWinControl controls.
ShowpublicMakes a control visible.
ShowControlprotectedEnsures that a specified child control is visible.
StringWidthpublicReturns the width of a string, using the list view's current font.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnlockDrawingpublicCall UnlockDrawing method to allow changes in that control to be redrawn.
UpdatepublicForces the control to update.
UpdateActionpublicUpdates the state of an action.
UpdateBoundsprotectedUpdates the bounds of the control.
UpdateBoundsRectprotectedChanges the Top, Left, Width, and Height properties of the control, but does not update its screen image and bypasses all resize events.
UpdateColumnprotectedIndividual column update event dispatcher.
UpdateColumnsprotectedGeneral column update event dispatcher.
UpdateControlOriginalParentSizeprotectedUpdates the original size of the parent control.
UpdateControlStatepublicRespond to state change.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateExplicitBoundsprotectedAttempts to update the values of the control's explicit bounds to those of its current bounds.
UpdateGroupprotectedUpdates all items under the specified group.
UpdateGroupsprotectedUpdates the items in all groups.
UpdateItemspublicRedraws a range of items, starting at FirstIndex and ending at LastIndex.
UpdateRecreatingFlagprotectedToggles the csRecreating flag in the ControlState property.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdateStyleElementsprotected
UpdateTIPStatusprotected
UpdateUIStateprotectedUpdates form User Interface State as needed
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
UseRightToLeftAlignmentpublicSpecifies whether the control's alignment should be reversed right-to-left.
UseRightToLeftReadingpublicSpecifies whether the control is using a right-to-left reading order.
UseRightToLeftScrollBarpublicSpecifies whether the vertical scroll bar appears on the left side of the control.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
VisibleChangingprotectedProvides the interface for a method that responds to changes in the control's visibility.
WndProcprotectedProvides specific message responses for the list view.
WriteStateprotectedWrites the state of the component.