Specifies whether lines are shown below each text line in a field.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the hGrid [of line lineNumber] of field to {true | false}
# Examples
set the hGrid of field 3 to true
set the hGrid of line 5 to 10 of field 1 to false
# Description
If a field's hGrid property is true, a horizontal line is drawn across the field, every textHeight pixels. The line falls below the lowest part of each character, rather than being drawn at the text baseline, as the lines drawn by the showLines property are.
The lines shown by the hGrid and vGrid are drawn in the borderColor (or borderPattern).
If the field's fixedLineHeight property is set to false, the hGrid property has no effect.
# Tags
ui,
# See
- **keyword:** field, character - **property:** leftIndent, borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, hiliteColor, borderPattern, listBehavior, listIndent, fixedLineHeight, hidden, textSize, firstIndent, listStyle, spaceBelow, tabStops, showLines, rightIndent, listDepth, hScrollbar, textHeight, borderColor, formattedWidth - **object:** field - **glossary:** property