Re: option-drag & Cocoa
Re: option-drag & Cocoa
- Subject: Re: option-drag & Cocoa
- From: Thomas Davie <email@hidden>
- Date: Sun, 27 Feb 2005 00:02:40 +0000
I know when an option-drag happens, I'm supposed to initiate a copy
operation. From the examples I've seen, drags are set up in the
-mouseDown: method, which is continually called. My question
revolves around state: since I get continually called, the option key
may turn on and off. Do most people save a state (option on/off) at
the start of a drag, or honor the possibility of a continually
changing option key? All the UI guidelines say is that an option key
should initiate a drag, not what to do about the user pressing it
mid-way through a drag or releasing it. Honoring a changing state
could look weird (i.e., a copy might leave the original in place, and
show an image moving during the drag; honoring the change would mean
that the original would suddenly dissapear…)
If you try dragging something in the finder, you will notice that the
(+) appears and disappears next to the cursor as you press and release
alt, and so changes the operation... For consistencies sake, I'd go
with that.
Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden