Change blinking cursor color

Is there a way to change the color of the blinking cursor used in the DesktopTextArea control?

Not with the Xojo Framework. If you can, it will vary by platform and require declares or plugins.

With the MBS plugins, you can do this:
MyTextArea.NSTextViewMBS.insertionPointColor=NSColorMBS.orangeColor

See TextField/Area caret (insertion point) color ? - #6 by Rob_Egal

Windows 11 its User Defined

if you want a mouse indicator you can change it

Var pic As New Picture(32,32)
pic.Graphics.DrawingColor = Color.Red
pic.Graphics.DrawRectangle(0,0,32,32)
TextArea1.MouseCursor = new MouseCursor(pic,32,32)
1 Like