noncontiguousHilites

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

Specifies whether the user can select non-adjacent lines of a list field.

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

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

RelatedKeyword: field, lines
Property: hilitedLine, listBehavior, toggleHilites, threeDHilite, multipleHilites
Command: select
Object: field
Glossary: property, Unix, list field, Windows, behavior, Mac OS
Description

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

If a list field's noncontiguousHilites property is false, the user can select multiple lines only if they're next to each other.

If the noncontiguousHilites is true, the user can select multiple lines, wherever they occur in the field. The user makes a multiple choice from a list field by Command-clicking the desired lines (on Mac OS systems) or Control-clicking (on Unix and Windows systems).

If the field's listBehavior is not set to true, this property has no effect.

Important: Setting the toggleHilites to true automatically sets the field's noncontiguousHilites property to true. (However, setting the toggleHilites to false does not set the property back to false.) To set the toggleHilites to true and the noncontiguousHilites to false, be sure to set the toggleHilites first, then set the noncontiguousHilites to false.

Tagsui