Rev 2.6.1
How on earth do I disable enter and return in a field, or keep it to a single
line field only?
the enterKey and returnKey messages are not working either.
Thanks,
-Garrett
Keeping a field to one line only?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
In a textfield, it is possible to capture the enter event with
to have code that works cross platform/cross keyboards it's always best to add
Garrett, you are actively coding it seems!? 
Code: Select all
on enterInField
...
end enterInField
Code: Select all
on returnInField
enterinfield
end returnInField

Re: Keeping a field to one line only?
How I came up with the two message names above is beyond me, butGarrett wrote:the enterKey and returnKey messages are not working either.
enterInField and returnInField do the job.

I needed to catch the enter and return keys so I could active some code,
so the autoTab would not have worked. But thanks a bunch BvG

And thank you also Marielle.
-Garrett