• 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: Speaking of interface builder bug's.. NSButton Equiv: is wrong
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speaking of interface builder bug's.. NSButton Equiv: is wrong


  • Subject: Re: Speaking of interface builder bug's.. NSButton Equiv: is wrong
  • From: Henri Lamiraux <email@hidden>
  • Date: Mon, 5 Nov 2001 21:12:44 -0800

I don't have the next IB release in front of me but I am pretty sure we have already fixed this.

On Monday, November 5, 2001, at 06:20 PM, Charles Bennett wrote:

I just happened to be programmatically modifying a NSButton's
key equivalent via setKeyEquivalent: and noticed that
IB incorrectly display's "\N" as the key for "Return" in the
NSButton Info under Tools (inspector)

First, if you assign it programatically you must use @"\r" (of course)
so IB is wrong on two counts.. showing \N is the wrong character and the
wrong case.

Just try [someButton setKeyEquivalent:@"\N"]. Of course it doesn't work
and it causes the compiler to generate a (valid) warning that \N isn't a
control code.

HOWEVER IB does do the right thing behind the "screen" because asking a NSButton
that IB set to "Return" via a call to [somebutton getKeyEquivalent] will return
a "\r".

It's just a minor little bug..

I did report it.

chuck
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev

Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple


References: 
 >Speaking of interface builder bug's.. NSButton Equiv: is wrong (From: Charles Bennett <email@hidden>)

  • Prev by Date: Widgets/Palettes
  • Next by Date: About pagination
  • Previous by thread: Speaking of interface builder bug's.. NSButton Equiv: is wrong
  • Next by thread: AppleDouble format
  • Index(es):
    • Date
    • Thread