MouseIcon Property (AImage)

Returns or sets the mouse icon used when the mouse pointer is positioned over an object.

Syntax

Object.MouseIcon [ = picMouseIcon ]

The MouseIcon property syntax has the following parts:

 

Name

Type

Description

Object

AImage

AImage control

picMouseIcon

APicture

A string expression specifying a file containing a graphic.

Comments

The default is no picture.

Example

The following statement changes the AImage's MouseIcon to a given image file:

img1.MouseIcon = LoadPicture ("c:\dirname\filename.ico")

Applies to

AImage

See Also

Picture