ColorMatching Ex: communicating between 2 nib object
ColorMatching Ex: communicating between 2 nib object
- Subject: ColorMatching Ex: communicating between 2 nib object
- From: "Anish Kumar" <email@hidden>
- Date: 23 Dec 2004 08:08:04 -0000
Hi All,
I am using the COLORMATCHING example from the GRAPHICS&IMAGING SAMPLE code
section from Apple to learn the cocoa concepts.
I created a new window with a button assigned to new action called "myButtonAction" in the
MainMenu.nib file of COLORMATCHING . I also a created a new window
"myWindow" connected to an outlet called "myWindowOutlet" in MyDocument class. The
"myWindow" window is created in MyDocument.nib of the COLORMATCHING application.
Can anyone please tell me how to open the window "myWindow" when the user clicks the
button "myButton" that is part MainMenu.nib
I know that calling [myWindowOutlet orderFront:self] will display a hidden window, but I
don't know how to get the action from an button in Main.nib open a window in
MyDocument.nib in the COLORMATCHING application.
Sorry for this basic question.
thanks all,
-Anish
_______________________________________________
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