MouseIcon Property (AToolBar)

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

AToolBar

AToolBar control

picMouseIcon

APicture

A picture object

Comments

The default is no picture.

Example

The following statement sets the mouse icon:

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

Applies to

AToolBar

See Also

MousePointer