Skip to main content

toggleHilites

Type

property

Summary

Specifies whether clicking a selected line in a list field deselects that line.

Syntax

set the toggleHilites of <field> to {true | false}

Description

Use the toggleHilites property to control the behavior of list fields.

If a field's toggleHilites property is set to true, clicking a selected line deselects the line. If the toggleHilites is false, clicking a selected line does nothing.

If the field's listBehavior property is false, the setting of the toggleHilites property has no effect.

Important

Setting the toggleHilites to true automatically sets the field's noncontiguousHilites and multipleHilites properties to true. (However, setting the toggleHilites to false does not set these properties back to false.) To set the toggleHilites to true and the noncontiguousHilites or multipleHilites to false, be sure to set the toggleHilites first, then set the other properties to false.

Examples

set the toggleHilites of field "Movies" to true

property: multipleHilites, toggleHilites, properties, listBehavior, selected, noncontiguousHilites, threeDHilite, hilitedLine

glossary: property, behavior, list field

keyword: field

object: field

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?