Skip to main content

firstIndent

Type​

property

Summary​

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

Syntax​

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

Description​

Use the firstIndent property to created indented paragraphs.

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

Parameters​

NameTypeDescription

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.

Examples​

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

Value​

NameTypeDescription

value

The firstIndent of a line or field returns an the indent size as a number.

keyword: field

property: borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, listBehavior, listIndent, hidden, textSize, listStyle, tabstops, spaceBelow, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?