Error getting tags :
error 404Error getting tags :
error 404 firstIndent | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
firstIndent
Basics
Expander triangle
Type
Property
Syntax
set the firstIndent of field to pixels
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Determines the indentation of the first line of each paragraph in a field.
Examples

set the firstIndent to 10

Additional Comments
Expander triangle

Use the firstIndent property to created indented paragraphs.

Value:

The firstIndent of a field is an integer.

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

Comments:

The first line of each paragraph is left-indented the specified number of pixels. If the firstIndent is zero, the field's paragraphs are not indented. If the firstIndent is negative, the first line of each paragraph is outdented the specified number of pixels, creating a hanging indent. (It may be necessary to increase the field's leftMargin property to accommodate the hanging indent.)

If the field's textAlign property is "center" or "right", the first line of each paragraph starts at least firstIndent pixels from the left margin of the field, but the effect of indentation may not be readily visible unless the field's textAlign is set to "left".

User Comments
Expander triangle
User thumbnail
Hans Behrens
StarStarStarStarStar
Mar 9, 2010
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.