Sets the color of the object that has focus.

Property of

Browse, ColumnEditor, ComboBox, Editor, Entryfield, Grid, ListBox, SpinBox, TabBox

Description

Use the colorHighlight and colorNormal properties of an object so users can visually differentiate between an object that has focus, and one that doesn't. You may choose from the same color settings as the colorNormal property.

The colorHighlight of most controls defaults to an empty string, meaning it is colored no differently when it has focus. For this reason, you may set a particular color in the control’s colorNormal property without having to override a default colorHighlight color as well.

For Grid objects, the colorHighlight property sets the text, and background, color for data displayed in a grid cell that has focus. It can be overridden by setting the colorHighlight property of a GridColumn's editorControl to a non-null value. The default setting for Grid objects is "WindowText/Window".

The color scheme in a TabBox is different. There, the colorNormal designates the color of the background behind the tabs, and the colorHighlight is the color of the selected tab. The unselected tabs are a fixed color, WindowText/Window.