property Edit.Cursor(Area as ClientAreaEnum) as Variant
Gets or sets the cursor that is displayed when the mouse pointer hovers the control.

TypeDescription
Area as ClientAreaEnum A ClientAreaEnum expression that indicates the control's zone where the mouse pointer is changed.
Variant A string expression that indicates a predefined value listed bellow, a string expression that indicates the path to a cursor file, a long expression that indicates the handle of the cursor.
Use the Cursor property to specify the cursor that control displays when mouse pointer hovers the control's zone like edit area, bookmark bar and so on. 

Here's the list of predefined values ( string expressions ):

If the cursor value is a string expression, the control looks first if it is not a predefined value like listed above, and if not, it tries to load the cursor from a file. If the Cursor property is a long expression it always indicates a handle to a cursor. The API functions like: LaadCursor or LoadCursorFromFile retrieves a handle to a cursor. In .NET framework, the Handle parameter of the Cursor object specifies the handle to the cursor. Use the Cursors object to access to the list of predefined cursors in the .NET framework.

The following VB sample changes the cursor while the mouse pointer hovers the control's line number bar:

With Edit1
    .Cursor(exLineNumberArea) = "exCross"
End With

Here's the  VB.NET alternative:

AxEdit1.Ctlset_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea, "exCross")

The following VB sample loads a cursor from a file:

With Edit1
    .Cursor(exLineNumberArea) = "C:\WINNT\Cursors\metronom.ani"
End With

And here's the VB.NET alternative:

AxEdit1.Ctlset_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea, "C:\WINNT\Cursors\metronom.ani")

The following VB.NET sample changes the cursor with one that Cursors object defines ( PanEast cursor ):

AxEdit1.Ctlset_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea, Cursors.PanEast.Handle)

The following C++ sample loads the cursor from a file:

m_edit.SetCursor( 0 /*exEditArea*/, COleVariant("C:\\WINNT\\Cursors\\metronom.ani" ) );

The following C# sample loads the cursor from a file:

axEdit1.Ctlset_Cursor(EXEDITLib.ClientAreaEnum.exEditArea, "C:\\WINNT\\Cursors\\metronom.ani");

The following VFP sample loads the cursor from a file:

with thisform.Edit1.Object
	.Cursor(0) = "C:\WINNT\Cursors\metronom.ani"
endwith