• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nsstepper up arrow and down arrow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsstepper up arrow and down arrow


  • Subject: Re: nsstepper up arrow and down arrow
  • From: Luc Vandal <email@hidden>
  • Date: Thu, 28 Apr 2005 23:57:23 -0400

Hi,

do I need to implement keyDown in the window controller or I have to derive my own NSStepper?

What I don't understand is that I've created an empty project with a NSStepper control. I added an action connected to that control. The control does respond when I press the up or down key on the keyboard. How weird is that?

Also, in the other project (the one where NSStepper is causing problems) if I press the down key on the keyboard and then press the space bar, the control will respond!

I don't get it!

Luc



On 28-Apr-05, at 11:42 PM, Matt Neuburg wrote:

On Thu, 28 Apr 2005 13:32:13 -0400, Luc Vandal <email@hidden> said:

How can I get an NSStepper control to increase/decrease it's value when
I press the down or up arrow (on the keyboard, not the buttons on the
control, that it does already). When I press on the up or down arrow,
the NSStepper control does flicker but nothing happens.

Implement keyDown:. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



_______________________________________________ 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
References: 
 >Re: nsstepper up arrow and down arrow (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Apple's Help Viewer
  • Next by Date: Re: Breaking into debugger after program hangs....
  • Previous by thread: Re: nsstepper up arrow and down arrow
  • Next by thread: Re: nsstepper up arrow and down arrow
  • Index(es):
    • Date
    • Thread