LitDev Extension API
LDCursors
Sets the GraphicsWindow Cursor.
Arrow | ArrowCD | CreateCursor |
Cross | Hand | Help |
IBeam | Invalid | None |
Pen | Scroll | SetShapeCursor |
SetUserCursor | SizeAll | SizeNESW |
SizeNS | SizeNWSE | SizeWE |
Starting | UpArrow | Wait |
Arrow()
Arrow Cursor (default).
ArrowCD()
Arrow with CD Cursor.
CreateCursor(imageName,xHotSpot,yHotSpot)
Create a cursor that can be set using SetUserCursor or SetShapeCursor.
An ImageList image can be resized with LDImage.Resize.
imageName The file path or ImageList image.
xHotSpot The x pixel to use as the hot spot, indexed from 0.
yHotSpot The y pixel to use as the hot spot, indexed from 0.
returns A cursor.
Cross()
Cross Cursor.
Hand()
Hand Cursor.
Help()
Help Cursor.
IBeam()
IBeam Cursor.
Invalid()
Invalid Cursor.
None()
No Cursor.
Pen()
Pen Cursor.
Scroll()
Scroll Cursor.
SetShapeCursor(shapeName,cursor)
Set the cursor for a shape or control when the mouse is over the shape.
shapeName The shape or control name.
cursor A cursor created with CreateCursor or
a standard cursor in this object (e.g. "ArrowCD") or
the full path to a *.cur or *.ani file to use as a cursor.
SetUserCursor(cursor)
Sets a custom cursor as a pointer in the Graphics Window.
cursor A cursor created with CreateCursor or
a standard cursor in this object (e.g. "ArrowCD") or
the full path to a *.cur or *.ani file to use as a cursor.
SizeAll()
Size All Cursor (Resizing).
SizeNESW()
NESW DoubleArrow Cursor (Resizing).
SizeNS()
NS DoubleArrow (Resizing).
SizeNWSE()
NWSE DoubleArrow Cursor (Resizing).
SizeWE()
WE DoubleArrow (Resizing).
Starting()
Starting Cursor.
UpArrow()
Up Arrow Cursor (Insertion).
Wait()
Wait Cursor.