• 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: Currency Converter (tyler, you there ?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Currency Converter (tyler, you there ?)


  • Subject: Re: Currency Converter (tyler, you there ?)
  • From: Ricky Sharp <email@hidden>
  • Date: Sun, 28 Oct 2001 11:21:06 -0600

On Sunday, October 28, 2001, at 10:21 AM, Irwin Poche wrote:

In the July archives there's a posting from "tyler" asking why a line of
Currency Converter only worked when the button Convert is clicked, as
opposed to pressing Return...

[rateField selectText:self];

I am having exactly the same problem and do not find a solution in the
archives.

I know it's not a coding goof on mine or tyler's part. I've downloaded the
O'Reilly Learning Cocoa examples which includes Currency Converter and it
exhibits exactly the same symptom.

Anyone know what's going on with this?

Not sure. I can't seem to find any method like "setFocus" that could first set the focus to the rateField.

It appears as if the Return/Enter key is being sent to the current field that has focus and the call:

[rateField selectText: self] will do nothing if the focus is not on the rateField.

Perhaps there's a way for the textField to not intercept return/enter (if that's the problem)?

------------------------------------------------------------
Ricky A. Sharp Instant Interactive(tm)
Founder & President <http://www.instantinteractive.com>

<mailto:email@hidden>
------------------------------------------------------------


References: 
 >Currency Converter (tyler, you there ?) (From: Irwin Poche <email@hidden>)

  • Prev by Date: Re: Currency Converter (tyler, you there ?)
  • Next by Date: Re: Saving an image without save dialog
  • Previous by thread: Re: Currency Converter (tyler, you there ?)
  • Next by thread: Re: Currency Converter (tyler, you there ?)
  • Index(es):
    • Date
    • Thread