Returns or sets the shape of the mouse pointer displayed when the mouse is over the object.
Object.MousePointer [ = enMousePointer ]
The MousePointer property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AImage |
AImage control |
|
enMousePointer |
enumAMousePointer |
An integer specifying the style of the control. |
enumAMousePointer can be one of the following:
|
Name |
Value |
Description |
|
aMousePointerDefault |
0 |
Default |
|
aMousePointerArrow |
1 |
Arrow |
|
aMousePointerCross |
2 |
Cross |
|
aMousePointerIBeam |
3 |
I Beam |
|
aMousePointerIcon |
4 |
Icon |
|
aMousePointerSize |
5 |
Size |
|
aMousePointerSizeNESW |
6 |
SizeNESW |
|
aMousePointerSizeNS |
7 |
SizeNS |
|
aMousePointerSizeNWSE |
8 |
SizeNWSE |
|
aMousePointerSizeEW |
9 |
SizeEW |
|
aMousePointerUpArrow |
10 |
Up Arrow |
|
aMousePointerHourGlass |
11 |
Hour Glass |
|
aMousePointerNoDrop |
12 |
No Drop |
|
aMousePointerArrowHourGlass |
13 |
Arrow Hour Glass |
|
aMousePointerArrowQuestion |
14 |
Arrow Question |
|
aMousePointerSizeAll |
15 |
Size All |
|
aMousePointerCustom |
16 |
Custom |
The following statement changes the AImage MousePointer to an arrow:
img1.MousePointer=aMousePointerArrow