This article was previously published under Q136795
This article shows by example how to change the mouse pointer when themouse is over an object on a form.
You can change the mouse pointer to to a different shape such as anhourglass, cross-hair, or I-beam to indicate that something has occurred orto inform the user that an action is occurring. To change the mouse pointerin Visual FoxPro, use the MousePointer property of an object.
When the mouse pointer is over a particular object, change that object'sMousePointer property to change the mouse pointer into a special pointershape.
This example changes the mouse pointer into a cross-hair when it is over atext box.
Create a new form.
Place a text box object on the form.
With the text box object selected, click the Layout tab of the Property Sheet.
Change the MousePointer property to 2 - Cross.
Save and run the form.
Move the mouse over the text box and notice the mouse pointer change to a cross-hair.
For more information on the MousePointer property, please search for"MousePointer Property" in the Visual FoxPro Help file.