Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

selectedField

the selectedField
Value returned: a field expression that indicates the field in which a range of characters is currently highlighted. If nothing is highlighted, it returns empty. The field expression returned has one of the following forms:

card field n
bkgnd field n
where n is the number of the field.


Demo Script

on selectedFieldDemo
   select line 1 of field 1
   wait 15
   answer "The field containing the selection is:" & return &¬
   the name of the selectedField
 end selectedFieldDemo

Placeholders

Related Topics

« selectedChunk | HyperTalk Reference | selectedLine »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View