looking for correct way to trap for option key
looking for correct way to trap for option key
- Subject: looking for correct way to trap for option key
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 13 Nov 2003 05:44:25 -0800 (PST)
I have a feeling that I was just doing this wrong...
it was working in jaguar but will not work in
panther..
I have a stepper that increments a date field. one
click is one day... hold the option, and 1 click is 1
hour. In the stepper method, I have a check for the
option key...
if ([[NSApp currentEvent] modifierFlags] ==
NSAlternateKeyMask) {
//do something else... /24hours
}
this works in jaguar but does not in panther. Can
someone point me in the right direction?
Ted
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.