• 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
Application Focus with NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application Focus with NSToolbar


  • Subject: Application Focus with NSToolbar
  • From: Dalton Hamilton <email@hidden>
  • Date: Mon, 5 Jun 2006 17:12:54 +0200

I've just written my first app that uses NSToolbar. I'm at the point that I wanted to run a few tests and when I use Xcode to Run the application in Debug mode and/or Release mode, I have a problem that when I try to click on an NSTextField or NSTextView object in the App's interface to enter data, the text that I type goes into the Xcode Run Log window. I've written numerous other Cocoa and Objetive- C apps and have never seen this situation. The only difference with this app is that I'm implementing an NSToolbar.

This problem is really weird. As I am typing this email, I clicked back over to my App (which I started in release mode of Xcode) and you would think the application name beside the Apple in the top left corner would either change to 'Xcode' or to the name of the App/ Project. Though my Apps window goes to the front and the cursor goes into the text field and blinks with a vertical line when I click on it, the name beside the Apple menu in the top left remains as Mail -- because it was the last app I was running before I clicked on my Xcode app.

However, if I run my app outside of Xcode, it works fine -- i.e. the application takes focus, when I click on my app it does become the active app and I can enter data in text and textview fields....

Any help would be appreciated. I also posted this on the Xcode-Users mailing list minus the last sentence which I just tried.

Dalton Hamilton
_______________________________________________
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


  • Prev by Date: Getting correct file extension
  • Next by Date: which cocoa wrapper for sqlite should i get?
  • Previous by thread: Getting correct file extension
  • Next by thread: which cocoa wrapper for sqlite should i get?
  • Index(es):
    • Date
    • Thread