selectedField

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the selectedField
selectedField()
Summary

Returns the number of the field with the text selection or insertion point.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the selectedField
hide the selectedField
Values
NameTypeDescription
return

The selectedField function returns the number of the field with the selection.

RelatedKeyword: field, selection
Function: selectedLoc, selectedChunk, focusedObject, number
Glossary: insertion point, return, object
Control Structure: function
Description

Use the selectedField function to determine which field the selection is in.

If there is no insertion point or text selection, the selectedField function returns empty. Otherwise, the selectedField is the same object as the one specified by the focusedObject function.

Tagsui