multipleHilites

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

Specifies whether more than one line can be selected in a list field.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the multipleHilites of field "myField" to true
Values
NameTypeDescription
Value

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

RelatedKeyword: field, line
Property: hilitedLine, listBehavior, toggleHilites, noncontiguousHilites, selected
Command: select
Object: field
Glossary: property, behavior, list field
Description

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

If the multipleHilites of a field is set to true, the user can select more than one line by dragging within the field, or Shift-clicking to select all the lines between the selected line and the clicked line. If the multipleHilites is false, clicking a line deselects any other lines in the field.

If the field's listBehavior property is false, the multipleHilites property has no effect.

Important: Setting the toggleHilites to true automatically sets the field's multipleHilites 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 multipleHilites to false, be sure to set the toggleHilites first, then set the multipleHilites to false.

Tagsui