restrict number of characters in a field?
Dar Scott
dsc at swcp.com
Wed Jul 26 22:03:48 EDT 2006
On Jul 26, 2006, at 6:26 PM, Frank D. Engel, Jr. wrote:
> Note that this code will not prevent pasting or drag-and-dropping
> of larger blocks of text into the field. It only works for text
> newly typed from the keyboard.
Except for typed character U with an umlaut or E with an acute accent
on OS X and probably other characters with accent marks. At least on
my keyboard (US).
This is bug 1147, which for some reason is marked fixed.
This leak of keyboard typing to the field is a serious (or at least
embarrassing) problem for 'ask password' and casual implementations
of password dialog boxes.
It is probably a problem with many applications that use xxxxKeyDown.
Dar Scott
More information about the use-livecode
mailing list