Determines the indentation of the first line of a paragraph in a field.


set the firstIndent [of <line>] of <field> to <pixels>


set the firstIndent of field 1 to 10
set the firstIndent of line 5 of field 1 to 10

Use the firstIndent property to created indented paragraphs.

By default, the firstIndent property of newly created fields is set to zero.


  • pixels: The number of pixels to indent the first line of a paragraph of text.The the pixels is set to a negative number, the first line will be outdented by that number of pixels.
  • Value: The firstIndent of a line or field returns an the indent size as a number.


To indent all lines EXCEPT the first line, you can do the following:

put -20 into tIndentSize
put 28 into tMarginSize
set the margins of field "example" to tMarginSize - abs(tIndentSize)
set the firstIndent of field "example" to tIndentSize
set the leftMargin of field "example to tMarginSize

Setting the margins before setting the leftMargin isn't strictly necessary, but it ensures you have identical spacing all around.

For example, this trick is useful for when you want to indent auto-wrapped lines for increased readability.

See also: textAlign (property), dontWrap (property), formattedText (property), spaceAbove (property), backgroundColor (property), listBehavior (property), listIndent (property), hidden (property), textSize (property), listStyle (property), tabstops (property), spaceBelow (property), rightIndent (property), listDepth (property), hgrid (property), hScrollbar (property), borderColor (property), formattedWidth (property),

Community content is available under CC-BY-SA unless otherwise noted.