[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TCursor

Defines the range of values used for cursor shapes.

## Declaration

Source position: controls.pp line 221

`type TCursor = - 32768..32767;`

## Description

TCursor is an Integer type which defines the range of values used for cursor shapes. TCursor includes the following values:

Standard Cursors

crDefault
  TCursor(0) - current cursor unchanged
crNone
  TCursor(-1) - hide cursor
crArrow
  TCursor(-2) - normal cursor
crCross
  TCursor(-3) - graphics cursor, for pixel or rectangle selection
crIBeam
  TCursor(-4) - text cursor, for setting insertion point

Sizing Cursors

crSize
  TCursor(-22)
crSizeAll
  TCursor(-22)
crSizeNESW
  TCursor(-6) - diagonal north east - south west
crSizeNS
  TCursor(-7)
crSizeNWSE
  TCursor(-8)
crSizeWE
  TCursor(-9)
crSizeNW
  TCursor(-23)
crSizeN
  TCursor(-24)
crSizeNE
  TCursor(-25)
crSizeW
  TCursor(-26)
crSizeE
  TCursor(-27)
crSizeSW
  TCursor(-28)
crSizeS
  TCursor(-29)
crSizeSE
  TCursor(-30)

Drag and Drop Cursors

crDrag
  TCursor(-12) - dragging, drop allowed
crNoDrop
  TCursor(-13) - dragging, drop disallowed/rejected
crMultiDrag
  TCursor(-16) - dragging multiple items
crNo
  TCursor(-18)
Splitter Cursors
crHSplit
  TCursor(-14)
crVSplit
  TCursor(-15)

Other Cursors

crUpArrow
  TCursor(-10)
crHourGlass
  TCursor(-11) - busy
crSQLWait
  TCursor(-17)
crAppStart
  TCursor(-19)
crHelp
  TCursor(-20)
crHandPoint
  TCursor(-21)