Skip to main content

accentColor

Type

property

Summary

Specifies the highlight color used for the active menu item.

Syntax

set the accentColor to {<colorName> | <RGBColor>}

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.

Examples

set the accentColor to "blue"
set the accentColor to 255,0,0 -- bright red
set the accentColor to "#CC00FF" -- violet

command: hilite

glossary: property, highlight, menu item, handler, color reference, integer, mouse pointer, hexadecimal

keyword: menu, button

property: lookAndFeel, armFill

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?