Creates an icon from an Image object in an ImageList control.
[ picPicture = ] Object.ExtractIcon
The ExtractIcon method syntax has the following parts:
Name |
Type |
Description |
Object |
AImageListImage |
AImageListImage object |
picPicture |
APicture object |
The following statement set the MouseIcon property to be the extracted icon from an AImageListImage object in an ImageList control:
frm1.MouseIcon=imgli1.ExtractIcon