I've built several basic programs to suit certain needs and I tend to learn things as I go along. Now I want to build a program that can respond to typed text in a simple input field. For example, if the user typed "start", then pressed enter, text on the screen would change, etc.
But alas, I've hit a roadblock and can't find help in the documentation (unsure what to look for, really). So if anyone can point me in the right direction I would appreciate it greatly!
Thanks!
Text field respond to carriage return
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Hi bard,
look for the enterInField and returnInField messages in the dictionary.
for example (in the fields script)
Hope that helps,
Malte
look for the enterInField and returnInField messages in the dictionary.
for example (in the fields script)
Code: Select all
on enterInField
beep
--do some useful stuff here
end enterInField
on returnInField
enterInField
end returnInField
Malte