MouseIcon Property (AStatusBar)

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

AStatusBar

AStatusBar object

picMouseIcon

APicture

APicture object

Comments

The default is no picture.

Example

The following statement sets the mouse icon:

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

Applies to

AStatusBar

See Also

MousePointer