• 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
Get view events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get view events


  • Subject: Get view events
  • From: "Tran Kim Bach" <email@hidden>
  • Date: Fri, 4 Jul 2008 13:45:49 +0900

Hi everybody,
One more newbie question.
I cannot get events of the view after I used setContentView method of my
NSBox object.
Here is what I am doing.
I have a main window with a NSBox object in it.
I create a view ( A) using Interface Builder and use a class along with A
having the view A outlet in it.
After that, in the controller class of the main window, I use
setContentView() method to get the view A
Assume that I have a combobox in the view A, how can I get event from the
combo box when I select the combo box?
I don't know how to use the first responder to get these kind of events.
Anyone can give me advices?
I'm following the DemoCalibrator example in /Examples/ColorSync but I dont
understand all parts.
It seems that he(apple's one) used RespondChain, FirstRespnder to make
events work?

--( Bachtk
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Crashes with no backtrace when printing
  • Next by Date: Binding an NSTextField
  • Previous by thread: Re: Changing views from within another view
  • Next by thread: Binding an NSTextField
  • Index(es):
    • Date
    • Thread