TextField Highlight Color

Is there a way to set the highlight color (the background colour of selected text) on a TextField/TextArea? Looking for a solution for both Mac and PC.


See http://documentation.xojo.com/index.php/TextEdit.BackColor

A good guess, but alas no. That sets the background color as opposed to the highlight color.

P.S. It is always a good idea to read a control’s documentation before when you are stuck. There is actually a LOT of information in there.

Highlight Color is set by the operating system, in OSX User can change it in System Settings

Sorry, misunderstood the question as I like to change a TextFields backColour when it is getting/loosing the focus (makes it easy to see the currently active field).

As Axel said, it is a system-wide setting …

No worries.

I’d like to change it programatically to match a colour scheme.