accentColor

Specifies the highlight color used for the active menu item.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, ios, android Introduced: 1.0 Security:

# Syntax

set the accentColor to {colorName | RGBColor}

# Examples

set the accentColor to "blue"

set the accentColor to 255,0,0 -- bright red

set the accentColor to "#CC00FF" -- violet

# Description

Use the accentColor to hilite a menu item associated with a button, when the user is in the process of choosing that menu item--that is, when the menu is open and the mouse pointer is over the menu item.

This property is used only when the lookAndFeel property is set to "Macintosh" or "Windows 95". If the lookAndFeel property is set to "Appearance Manager" or "Motif", the accentColor has no effect.

The accentColor property is copied from the system settings every time LiveCode starts up, but can be changed by a handler.

# Tags

# See

- **keyword:** menu, button - **property:** lookAndFeel, armFill - **command:** hilite - **glossary:** property, highlight, menu item, handler, color reference, integer, mouse pointer, hexadecimal