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]
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
Shape determined by the object. (Default)
Cross (cross-hair pointer).
Icon (small white square within a black square).
Size (four-pointed arrow pointing up, down, left, and right).
Size NE SW (double arrow pointing diagonally from bottom left to top right).
Size NS (double arrow pointing vertically up and down).
Size NW SE (double arrow pointing diagonally from bottom right to top left).
Size WE (double arrow pointing horizontally left and right).
Hourglass or wristwatch.
Tip: To indicate that the user should wait for a process to finish, set the MousePointer property to 11.
Note: Not a valid property value for grids. If set for grids, returns the error, "Expression evaluated to an illegal value."
Note: When running Visual FoxPro applications on Windows 2000 operating systems, an arrow appears instead of a hand.
Tip: This setting is particularly useful if the parent column of a header overrides the default setting for the header's MousePointer property.
Custom. Uses pointer specified in object's MouseIcon property.
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