Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread Dave
Yes, I guess because in this case then is the possibility of the Mouse/Finger moving outside the Control between the Down and Up events…... > On 18 Jul 2016, at 14:05, dangerwillrobinsondan...@gmail.com wrote: > > To be fair, iOS and mouse events tend to finish on the concept of up. > (Though

Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread dangerwillrobinsondanger
To be fair, iOS and mouse events tend to finish on the concept of up. (Though often it's up & inside to trigger some action) Sent from my iPhone > On Jul 18, 2016, at 10:00 PM, Steve Mills wrote: > >> On Jul 18, 2016, at 07:52:02, Dave wrote: >> >>

Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread Steve Mills
On Jul 18, 2016, at 07:52:02, Dave wrote: > > Hi, > > Thanks, I’m looking at it now. > > I’m a bit confused over the keyboard handling. I would have thought that the > processing would take place on the KeyUp event, but it seems like its > occurring on the KeyDown

Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread Dave
Hi, Thanks, I’m looking at it now. I’m a bit confused over the keyboard handling. I would have thought that the processing would take place on the KeyUp event, but it seems like its occurring on the KeyDown event which is where I am going wrong. I’m not sure what use NSKeyUp is in this case?

Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread dangerwillrobinsondanger
You might review the Event programming guide (especially the part about short circuiting) and the responder chain. That will pull this together in some detail. Sent from my iPhone > On Jul 18, 2016, at 7:57 PM, Dave wrote: > > Hi Alastair, > > Thanks a lot for this

Re: Keyboard/Mouse Event Interaction

2016-07-18 Thread Dave
Hi Alastair, Thanks a lot for this - it makes my life harder but at least I know how it works now. All the Best Dave > On 17 Jul 2016, at 21:03, Alastair Houghton > wrote: > > On 17 Jul 2016, at 14:06, Dave wrote: >> >> My question

Re: Keyboard/Mouse Event Interaction

2016-07-17 Thread Alastair Houghton
On 17 Jul 2016, at 14:06, Dave wrote: > > My question is, do the keyboard and Mouse Down Events come in pairs, so that > the following would/should not occur: No. KeyDown happens when the key goes down, KeyUp happens when they key comes back up. Likewise with

Keyboard/Mouse Event Interaction

2016-07-17 Thread Dave
Hi Dave, I’ve noticed the following behaviour: In an XCode Text Window (or any text editor type App), do this: Click and Hold the Left Mouse Button Type a character on the keyboard(Nothing happens) Release the Mouse (The