ListView.SmallImageList Property | |
An image list containing small images to display for each item when the list view is displayed in list view, report view, or small icon view. The icons in this list must be defined elsewhere in
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY SmallImageList AS USUAL GET SET
public virtual Usual SmallImageList { get; set; }
Request Example
View SourceProperty Value
Type:
UsualAn image list containing small images to display for each item when the list view is displayed in list view, report view, or small icon view. The icons in this list must be defined elsewhere in
Examples
This example would typically occur in a PostInit() method of a window. In the example below, when the ListView is populated, each item will be assigned an image index, in this case depending upon whether the player in question is active or not.
1LOCAL oImageList AS ImageList
1oImageList := ImageList{2, Dimension{16, 16}}
2oImageList:Add(SmIconCheck{})
3oImageList:Add(SmIconCross{})
4SELF:oDClvPlayers:SmallImageList := oImageList
See Also