本文共 744 字,大约阅读时间需要 2 分钟。
Delphi XE中的缺省光标设置
在Delphi XE开发环境中,光标的缺省设置可以通过设置screen.Cursor属性来实现。默认光标类型有多种选择,可以根据具体需求选择合适的类型。
常见的光标类型及其对应值如下:
crDefault 对应 TCursor(0)crNone 对应 TCursor(-1)crArrow 对应 TCursor(-2)crCross 对应 TCursor(-3)crIBeam 对应 TCursor(-4)crSize 对应 TCursor(-22)crSizeNESW 对应 TCursor(-6)crSizeNS 对应 TCursor(-7)crSizeNWSE 对应 TCursor(-8)crSizeWE 对应 TCursor(-9)crUpArrow 对应 TCursor(-10)crHourGlass 对应 TCursor(-11)crDrag 对应 TCursor(-12)crNoDrop 对应 TCursor(-13)crHSplit 对应 TCursor(-14)crVSplit 对应 TCursor(-15)crMultiDrag 对应 TCursor(-16)crSQLWait 对应 TCursor(-17)crNo 对应 TCursor(-18)crAppStart 对应 TCursor(-19)crHelp 对应 TCursor(-20)crHandPoint 对应 TCursor(-21)crSizeAll 对应 TCursor(-22)这些类型可以根据具体需求进行选择和设置。在实际开发中,光标类型的选择会影响用户体验和界面设计,建议根据应用场景选择最合适的类型。
转载地址:http://oqqfk.baihongyu.com/