Specifies the shape of the mouse pointer when you move the mouse over a particular part of an object at run time. Read/write at design time and run time.
You can use the MousePointer property to indicate changes in functionality as the mouse pointer passes over controls on a form or dialog box.
Object.MousePointer [= nType] |
Return Value
- nType
-
Specifies a value representing the shape of the mouse pointer.
The following table lists the values for nType.
Note: When you set the MousePointer property using the Properties window, the drop-down list displays the setting names used in Visual FoxPro for Windows. nType Description 0
Shape determined by the object. (Default)
1
Arrow.
2
Cross (cross-hair pointer).
3
I-beam.
4
Icon (small white square within a black square).
5
Size (four-pointed arrow pointing up, down, left, and right).
6
Size NE SW (double arrow pointing diagonally from bottom left to top right).
7
Size NS (double arrow pointing vertically up and down).
8
Size NW SE (double arrow pointing diagonally from bottom right to top left).
9
Size WE (double arrow pointing horizontally left and right).
10
Up arrow.
11
Hourglass or wristwatch.
Tip: To indicate that the user should wait for a process to finish, set the MousePointer property to 11. 12
No drop.
13
Hide pointer.
14
Arrow.
Note: Not a valid property value for grids. If set for grids, returns the error, "Expression evaluated to an illegal value." 15
Hand.
Note: When running Visual FoxPro applications on Windows 2000 operating systems, an arrow appears instead of a hand. 16
Down arrow.
Tip: This setting is particularly useful if the parent column of a header overrides the default setting for the header's MousePointer property. 99
Custom. Uses pointer specified in object's MouseIcon property.
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