Purpose

.CursorGraphic allows you to so specify a cursor graphic image to replace the Windows cursor when the mouse pointer hovers over certain objects.
 

Syntax

Setting:            ObjectReference.CursorGraphic = Value

Retrieving:       Variable = ObjectReference.CursorGraphic
 

Operation

ObjectReference is the Tag Name of the object
Value is any valid cursor graphic filename with the extension of .cur or .ani
Variable is an alphanumeric variable
 

Remarks

The file can be located within any of the Client bitmap folders.  If not found, it will search in the standard Windows\Cursors folder to allow standard Microsoft pointers to be used.  The Windows Client also supports animated Cursor files with the "ani" extension.

The value is returned in the same format as it was entered.

 

Example

To change the mouse pointer to the PEN_L mouse pointer when the cursor is located over the CancelButton:

CancelButton.CursorGraphic = "PEN_L.CUR"


To set the mouse pointer to change to the BEAM_L mouse pointer when the cursor is located over the VisaIcon graphic:

VisaIcon.CursorGraphic = "BEAM_L.CUR"


To retrieve the .CursorGraphic associated with the CancelButton , which has a response string:

$CancelButton_CURSORGRAPHIC = CancelButton.CursorGraphic


To retrieve the .CursorGraphic associated with the VisaIcon graphic, which has a response string:

$VisaIcon_CURSORGRAPHIC = VisaIcon.CursorGraphic
 

Comment on this topic

Topic ID: 510047