MouseIcon Property

Specifies the mouse pointer icon displayed when the mouse pointer is positioned over an object. Available at design time and run time.

Object.MouseIcon[ = cFileName]

Property Values

  • cFileName
    Specifies the file that is displayed when the mouse pointer is positioned over the object. You can specify a mouse icon (.ico) file, a mouse cursor (.cur) file, or an animated mouse cursor (.ani) file.

Remarks

To display the mouse icon, set the MousePointer property to 99 (Custom).

See Also

MousePointer Property

Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | _SCREEN | Shape | Spinner | TextBox | ToolBar