hGrid | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field | ||||||
Summary | Specifies whether lines are shown below each text line in a field. | ||||||
Introduced | 1.0 | ||||||
Changes | The use of the borderColor to draw grid lines was introduced in version 2.0. In previous versions, the grid lines were drawn in the hiliteColor. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | 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 | ||||||
Description | Use the hGrid property to control the appearance of a field. 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 |