Returns or sets the mouse icon used when the mouse pointer is positioned over an object.
Object.MouseIcon [ = picMouseIcon ]
The MouseIcon property syntax has the following parts:
Name |
Type |
Description |
Object |
AImage |
AImage control |
picMouseIcon |
A string expression specifying a file containing a graphic. |
The default is no picture.
The following statement changes the AImage's MouseIcon to a given image file:
img1.MouseIcon = LoadPicture ("c:\dirname\filename.ico")