MousePointer Property

Object List Next Object

Defined By:
Window

Description:

Allows you to set the appearance of the cursor when the mouse pointer is over different areas of an object.

Settings:


Setting Pointer Description


0 Default for the current control. The shape is determined by the control itself

  1. Arrow (for selecting and pointing)

  2. Cross-hair pointer (for drawing)

  3. I-Beam (for text entry and selection)

  4. Square within a square icon

  5. Directional cross with arrows pointing North, South, East, West (for N, S, E, W sizing actions)

  6. Double-directional arrow pointing Northeast to Southwest (for NE, SW sizing actions)

  7. Double-directional arrow pointing North and South (for N, S sizing actions)

  8. Double-directional arrow pointing Northwest and Southeast (for NW, SE sizing actions)

  9. Double-directional arrow pointing West and East (for W, E sizing actions)

  10. Up arrow

  11. Hourglass (for waiting)

  12. No drop (for invalid actions)

Details:

The MousePointer property controls the cursor shape as the mouse pointer is moved. This property can be set for entire forms or for each control on a form.

Each setting represents a standard cursor shape that is used in Windows applications to indicate some common function. It is recommended that you follow the common use of these cursor shapes in your applications so as not to confuse your users.

By setting the MousePointer property, you can visually cue your users as to certain changes in functionality. For example, the Hourglass shape is commonly used to indicate that an operation or process is in progress and the user should wait for it to complete. Different cursor shapes can also indicate the functionality changes that occur when the mouse pointer is moved over different objects.

Setting the MousePointer property on the Screen object overrides all MousePointer settings for all other objects and applications. To restore the previous behavior, set the MousePointer value to 0.

Data Type: Enum - MousePointerSelector