MousePointer Property

Purpose

Returns or sets a value indicating the type of mouse pointer displayed when the mouse is over a particular part of an object at run-time.

Syntax

Object.MousePointer [ = value ]

Object:Ocx Object
value:iexp

Description

The settings for value, which are NOT declared by GFA, are:

Constant Value Description
basDefault 0 (Default) Shape determined by the object.
basArrow 1 Arrow.
basCross 2 Cross (crosshair pointer).
basIbeam 3 I beam.
basIcon 4 Icon (small square within a square).
basSize 5 Size (four-pointed arrow pointing north, south, east, and west).
basSizeNESW 6 Size NE SW (double arrow pointing northeast and southwest).
basSizeNS 7 Size N S (double arrow pointing north and south).
basSizeNWSE 8 Size NW SE (double arrow pointing northwest and southeast).
basSizeWE 9 Size W E (double arrow pointing west and east).
basUpArrow 10 Up Arrow.
basHourglass or basWait 11 Hourglass (wait).
basNoDrop 12 No Drop.
basArrowHourglass 13 Arrow and hourglass.
basArrowQuestion or basHelp 14 Arrow and question mark.
basSizeAll 15 Size all.
basCursor 98 Custom icon specified by the MouseCursor (LoadCursor) property.
basCustom 99 Custom icon specified by the MouseIcon (Picture) property.

Example

OpenW 1

MousePointer = 11 // basHourClass

Do

Sleep

Until Me Is Nothing

Remarks

See Also

MouseCursor, MouseIcon, MousePointer, DefMouse

{Created by Sjouke Hamstra; Last updated: 24/01/2019 by James Gaite}