showLines

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

Specifies whether dotted lines are shown on the text baselines of a field.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the showLines of the target to true
Values
NameTypeDescription
Value

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

RelatedKeyword: field
Property: foregroundColor, pixels, hGrid, fixedLineHeight, foregroundPattern
Object: field
Glossary: property
Description

Use the showLines property to control the appearance of a field.

If a field's showLines property is true, a dotted horizontal line is drawn across the field, every lineHeight pixels. The line falls at the text baseline, so descenders (in letters like "p" and "g" ) extend into or below the line.

The dotted lines drawn by the showLines appear above the solid lines drawn by the hGrid property, and are drawn in the foregroundColor (or foregroundPattern).

If the field's fixedLineHeight property is set to false, the showLines property has no effect.

The line does not appear under text that is selected.

Tagsui