listDepth

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the listDepth of <line> of <field> to 1
Associationsfield
Summary

Specifies the depth of a line in a list.

Introduced5.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the listDepth of line 1 of field 1 to 5
-- Make a list have a maximum depth of 2
repeat with x = 0 to the number of lines of field 1
   if the listDepth of line x of field 1 > 2 then
      set the listDepth of line x of field 1 to 2
   end if
end repeat
Values
NameTypeDescription
Value

The listDepth of a line of a field returns the depth of the list line as a number.

RelatedProperty: hScrollbar, borderColor, textSize, listBehavior, formattedWidth, textAlign, spaceBelow, rightIndent, firstIndent, formattedText, tabstops, borderWidth, spaceAbove, hgrid, vgrid, backgroundColor, hidden, dontWrap, listStyle
Description

Use the listStyle property to control the depth of a line in a list.

Tagsui