ListImages |
Description
A ListImage object is a bitmap of any size that can be used in other controls .A ListImages collection is a collection of ListImage objects. |
Properties and Methods
Property |
Description |
|
Count |
(read-only) The total number of ListImages in the collection |
|
Index |
(read-only) An integer that uniquely identifies a ListImage in the collection. |
|
Item (Index) |
Returns a specific member of the collection (either by position or by key). |
|
Key |
(read-write) A string that uniquely identifies a ListImage in the collection |
|
Picture |
(read-only) The ListImage bitmap itself |
|
Method |
Description |
|
Add |
Parameters: [Index], [Key], Picture |
|
Adds a ListImage object to a ListImages collection |
||
Index |
(optional) An integer specifying the position where you want to insert the ListImage. If no index is specified, the ListImage is added to the end of the ListImages collection |
|
Key |
(optional) A unique string that identifies the ListImage object. Use this value to retrieve a specific ListImage object. An error occurs if the key is not unique |
|
Picture |
Specifies the picture to be added to the collection |
|
Clear |
Removes all ListImages in the collection |
|
ExtractIcon |
Creates an icon from a bitmap in a ListImage object and returns a reference to the newly created icon. You can use the icon created with the ExtractIcon method like any other icon. For example, you can use it as a setting for the MouseIcon property. |
|
Remove |
Parameters: Index |
|
Removes a specific ListImage. Index is an integer or string that uniquely identifies the ListImage. Use an integer to specify the value of the Index property; use a string to specify the value of the Key property. |