toggleHilites

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the toggleHilites of <field> to {true | false}
Associationsfield
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the toggleHilites of field "Movies" to true
Values
NameTypeDescription
Value

The toggleHilites of a field is true or false. By default, the toggleHilites property of newly created fields is set to false.

RelatedKeyword: field
Property: multipleHilites, toggleHilites, properties, listBehavior, selected, noncontiguousHilites, threeDHilite, hilitedLine
Object: field
Glossary: property, behavior, list field
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.

Tagsui