Get view events
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