Share via


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]

Return Value

  • 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

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

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

See Also

Reference

MousePointer Property

Other Resources

Properties (Visual FoxPro)