Unicode Controls & Classes for VB6 - Version 4

clsUniLV_ListItem Class

An item in a ListView control that contains the index of icons associated with it, text, and an array of strings representing subitems that are displayed in Report view.

Enums
Name Description
Events
Name Description
Properties
Name Type Description
Bold (Boolean) Gets or sets the bold status of the item
Checked (Boolean) Gets or sets the checked status of the item
CheckSize (Long) Contains the check size, used by the control, doesn't work if you set a value on this property
ForeColor (OLE_COLOR) Gets or sets the text color of the item
Ghosted (Boolean) Gets or sets the ghosted status of this item
Height (Long) The item height, used by the control, doesn't work if you set a value on this property
Icon (Variant) Gets or sets the item icon
ImageHeight (Long) Contains the Text height in pixels, used by the control, doesn't work if you set a value on this property
ImageWidth (Long) Contains the Image width in pixels, used by the control, doesn't work if you set a value on this property
Index (Long) The item index
Key (String) The item key
Left (Long) The item left coordinate, used by the control, doesn't work if you set a value on this property
ListSubItems (clsUniLV_ListSubItems) Returns/sets a collection of ListSubItems belonging to the ListItem
rCheck (RECT) Gets or sets the check rectangle, used by the control, doesn't work if you set a value on this property
rIcon (RECT) Gets or sets the icon rectangle, used by the control, doesn't work if you set a value on this property
RightToLeft (Boolean) Gets or sets the RTL support for this item
rText (RECT) Gets or sets the text rectangle, used by the control, doesn't work if you set a value on this property
Selected (Boolean) Gets or sets the item selection status
SmallIcon (Variant) Gets or sets the item smallicon
SubItems (String) Returns/sets an array of strings representing the ListIitem's data
Tag (Variant) The item tag
Text (String) Gets or sets the text of the item
TextHeight (Long) Contains the Text height in pixels, used by the control, doesn't work if you set a value on this property
TextWidth (Long) Contains the Text width in pixels, used by the control, doesn't work if you set a value on this property
Tip (String) The item unicode tooltip
Top (Long) The item top coordinate, used by the control, doesn't work if you set a value on this property
Width (Long) The item width, used by the control, doesn't work if you set a value on this property
Methods
Name Type Description
CreateDragImage (IPictureDisp) Creates a composite image from an icon and a caption for use in drag and drop operations.
EnsureVisible (Boolean) Ensures a ListItem or Node object is visible, scrolling or expanding the control if necessary.
Remarks