keyEvent characters
keyEvent characters
- Subject: keyEvent characters
- From: Angela Brett <email@hidden>
- Date: Mon, 8 Oct 2001 22:02:11 +1300
Hi,
I have a question about key events. It says in the documentation:
- (NSString *)characters
Returns the characters associated with the receiving key-up or
key-down event. These characters
are derived from a keyboard mapping that associates various key
combinations with Unicode
characters. Raises an NSInternalInconsistencyException if sent to any
other kind of event.
My question is, when would there be more than one character? I guess
somehow several keys could be pressed or released at exactly the same
time, but even then I would think they would generate separate
events. Is it safe to always assume that there's only one character?
--
Angela Brett email@hidden
http://acronyms.co.nz/
"Great minds think different."