Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
Values returned:
the selectedLine
, a line expression that indicates the line of a field or the Message box in which a range of characters is currently highlightedthe selectedLine of listField
, a line expression that indicates the lines of a list field in which the characters are currently highlightedthe selectedLine of popupButton
, a line expression that evaluates to the line number in a popup button’s contents indicating the current selectionIf nothing is selected, the selectedLine
returns empty
.
If a field isn't currently a list field but it was in the past, and a selection had been made when it was a list field, the selectedLine
returns the most recent selection.
The line expression returned has the following forms:
where i
is the line number and n
is the number of a popup button or a field, and x
to y
is a range of lines in a list field.