Skip navigation.
 
mlGet view events
FROM : Tran Kim Bach
DATE : Fri Jul 04 06:45:49 2008

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

Related mailsAuthorDate
No related mails found.