Re: How to fill information to NSComboBox when window loads?
Re: How to fill information to NSComboBox when window loads?
- Subject: Re: How to fill information to NSComboBox when window loads?
- From: Chris Hanson <email@hidden>
- Date: Thu, 13 Oct 2005 23:42:42 -0700
On Oct 13, 2005, at 10:22 PM, MP 09 wrote:
I have a window and NSComboBox control on it. I want to fill
information in
that when window view or load. I am using java and cocoa.
I created a nib file which contain window and controller code in
java. I
though to write fill method in constructor, but it throw run time
error as
controls are not initialized yet. Is there any method which i can
use to
load that?
When a nib file is loaded, all of the objects in it are unarchived or
instantiated and connected together. Then all of the objects in the
nib, as well as the object specified as the nib's owner, are sent -
awakeFromNib. This is an appropriate place for any additional
interface set-up work.
-- Chris
_______________________________________________
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