MousePointer, MouseIcon
These properties let you determine what kind of icon the mouse uses at any given time. You can use any icon you want. If it's in the set provided, you only need to set MousePointer. To use any other icon, you set MousePointer and MouseIcon.
Usage |
oObject.MousePointer = nMousePointer nMousePointer = oObject.MousePointer oObject.MouseIcon = cIconFile cIconFile = oObject.MouseIcon |
The specified MousePointer doesn't always display the way you expect. For spinners and combo boxes, the desired image displays only when the mouse is over the border or the arrows; the icon is an I-beam when the mouse is over the text area of the controls. For edit boxes, MousePointer is used for the text area but an arrow is used for the scrollbars. In a grid, MousePointer is used only when the mouse is over the border, the record mark column, delete mark column, and the squares in the upper-left and lower-right corners. For controls in a grid, only the control that has focus will show the desired MousePointer. |
Example |
This.MousePointer = 10 #INCLUDE FOXPRO.H oObject.MousePointer = MOUSE_HOURGLASS This.MousePointer = 99 This.MouseIcon = HOME(4)+"CURSORS\Bullseye.Cur" |
See Also |