Creates an icon from a bitmap in a ListImage object of an ImageList control and returns a reference to the newly created icon.
Syntax
object.ExtractIcon
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
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, as the following code illustrates:
Set Command1.MouseIcon = ImageList1.ListImages(1).ExtractIcon