Class TMSListView (unit ComctlLib)

Inherits from

TOleControl

Constructors



Functions

function FindItem(const sz: WideString; var Where, Index, fPartial: OleVariant): IListItem;


function GetFirstVisible: IListItem;


function HitTest(x, y: Single): IListItem;


procedure OLEDrag;


procedure StartLabelEdit;


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: IListView;


function Get_ColumnHeaders: IColumnHeaders;


function Get_DropHighlight: IListItem;


function Get_hWnd: OLE_HANDLE;


function Get_ListItems: IListItems;


function Get_SelectedItem: IListItem;


procedure Set_ColumnHeaders(const Value: IColumnHeaders);


procedure Set_DropHighlight(var Value: IListItem);


procedure Set_hWnd(Value: OLE_HANDLE);


procedure Set_ListItems(const Value: IListItems);


procedure Set_SelectedItem(var Value: IListItem);


Properties

property Align :


property Appearance : AppearanceConstants


property Arrange : ListArrangeConstants


property BackColor : TColor


property BorderStyle : BorderStyleConstants


property ColumnHeaders : IColumnHeaders


property DragCursor :


property DragMode :


property DropHighlight : IListItem


property Enabled : WordBool


property Font : TFont


property ForeColor : TColor


property HideColumnHeaders : WordBool


property HideSelection : WordBool


property hWnd : OLE_HANDLE


property Icons : IDispatch


property LabelEdit : ListLabelEditConstants


property LabelWrap : WordBool


property ListItems : IListItems


property MouseIcon : TPicture


property MousePointer : MousePointerConstants


property MultiSelect : WordBool


property OLEDragMode : OLEDragConstants


property OLEDropMode : OLEDropConstants


property ParentColor :


property ParentFont :


property ParentShowHint :


property PopupMenu :


property SelectedItem : IListItem


property ShowHint :


property SmallIcons : IDispatch


property Sorted : WordBool


property SortKey : Smallint


property SortOrder : ListSortOrderConstants


property TabOrder :


property TabStop :


property View : ListViewConstants


property Visible :


property ControlInterface : IListView


Events

event OnAfterLabelEdit : TMSListViewAfterLabelEdit


event OnBeforeLabelEdit : TMSListViewBeforeLabelEdit


event OnClick :


event OnColumnClick : TMSListViewColumnClick


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnEnter :


event OnExit :


event OnItemClick : TMSListViewItemClick


event OnKeyDown :


event OnKeyPress :


event OnKeyUp :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnOLECompleteDrag : TMSListViewOLECompleteDrag


event OnOLEDragDrop : TMSListViewOLEDragDrop


event OnOLEDragOver : TMSListViewOLEDragOver


event OnOLEGiveFeedback : TMSListViewOLEGiveFeedback


event OnOLESetData : TMSListViewOLESetData


event OnOLEStartDrag : TMSListViewOLEStartDrag


event OnStartDrag :


Variables

FIntf : IListView;


FOnAfterLabelEdit : TMSListViewAfterLabelEdit;


FOnBeforeLabelEdit : TMSListViewBeforeLabelEdit;


FOnColumnClick : TMSListViewColumnClick;


FOnItemClick : TMSListViewItemClick;


FOnOLECompleteDrag : TMSListViewOLECompleteDrag;


FOnOLEDragDrop : TMSListViewOLEDragDrop;


FOnOLEDragOver : TMSListViewOLEDragOver;


FOnOLEGiveFeedback : TMSListViewOLEGiveFeedback;


FOnOLESetData : TMSListViewOLESetData;


FOnOLEStartDrag : TMSListViewOLEStartDrag;



Constructors


Functions


function FindItem(const sz: WideString; var Where, Index, fPartial: OleVariant): IListItem;


function GetFirstVisible: IListItem;


function HitTest(x, y: Single): IListItem;


procedure OLEDrag;


procedure StartLabelEdit;


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: IListView;


function Get_ColumnHeaders: IColumnHeaders;


function Get_DropHighlight: IListItem;


function Get_hWnd: OLE_HANDLE;


function Get_ListItems: IListItems;


function Get_SelectedItem: IListItem;


procedure Set_ColumnHeaders(const Value: IColumnHeaders);


procedure Set_DropHighlight(var Value: IListItem);


procedure Set_hWnd(Value: OLE_HANDLE);


procedure Set_ListItems(const Value: IListItems);


procedure Set_SelectedItem(var Value: IListItem);


Properties


property Align :


property Appearance : AppearanceConstants


property Arrange : ListArrangeConstants


property BackColor : TColor


property BorderStyle : BorderStyleConstants


property ColumnHeaders : IColumnHeaders


property DragCursor :


property DragMode :


property DropHighlight : IListItem


property Enabled : WordBool


property Font : TFont


property ForeColor : TColor


property HideColumnHeaders : WordBool


property HideSelection : WordBool


property hWnd : OLE_HANDLE


property Icons : IDispatch


property LabelEdit : ListLabelEditConstants


property LabelWrap : WordBool


property ListItems : IListItems


property MouseIcon : TPicture


property MousePointer : MousePointerConstants


property MultiSelect : WordBool


property OLEDragMode : OLEDragConstants


property OLEDropMode : OLEDropConstants


property ParentColor :


property ParentFont :


property ParentShowHint :


property PopupMenu :


property SelectedItem : IListItem


property ShowHint :


property SmallIcons : IDispatch


property Sorted : WordBool


property SortKey : Smallint


property SortOrder : ListSortOrderConstants


property TabOrder :


property TabStop :


property View : ListViewConstants


property Visible :


property ControlInterface : IListView


Events


event OnAfterLabelEdit : TMSListViewAfterLabelEdit


event OnBeforeLabelEdit : TMSListViewBeforeLabelEdit


event OnClick :


event OnColumnClick : TMSListViewColumnClick


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnEnter :


event OnExit :


event OnItemClick : TMSListViewItemClick


event OnKeyDown :


event OnKeyPress :


event OnKeyUp :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnOLECompleteDrag : TMSListViewOLECompleteDrag


event OnOLEDragDrop : TMSListViewOLEDragDrop


event OnOLEDragOver : TMSListViewOLEDragOver


event OnOLEGiveFeedback : TMSListViewOLEGiveFeedback


event OnOLESetData : TMSListViewOLESetData


event OnOLEStartDrag : TMSListViewOLEStartDrag


event OnStartDrag :


Variables


FIntf : IListView;


FOnAfterLabelEdit : TMSListViewAfterLabelEdit;


FOnBeforeLabelEdit : TMSListViewBeforeLabelEdit;


FOnColumnClick : TMSListViewColumnClick;


FOnItemClick : TMSListViewItemClick;


FOnOLECompleteDrag : TMSListViewOLECompleteDrag;


FOnOLEDragDrop : TMSListViewOLEDragDrop;


FOnOLEDragOver : TMSListViewOLEDragOver;


FOnOLEGiveFeedback : TMSListViewOLEGiveFeedback;


FOnOLESetData : TMSListViewOLESetData;


FOnOLEStartDrag : TMSListViewOLEStartDrag;