ControlElements (was re:OutlineView)
ControlElements (was re:OutlineView)
- Subject: ControlElements (was re:OutlineView)
- From: daniel oberhoff <email@hidden>
- Date: Wed, 5 Mar 2003 19:14:09 +0100
well, i just learned how to go with the flo :). so it works now.
still i'd like 2 know why no init is called. i mean, situations are
thinkable where id actually like to init and outlineview.
but something else: is it possible to put pulldownmenues into tables
and/or outlineviews (or formatters) to let the user select from a given
set (or have him input only numbers and in a given format)? coz now all
thats put in is text, and that has to be parsed, as long as its
"spelled" right..
daniel
Anfang der weitergeleiteten E-Mail:
Von: j o a r <email@hidden>
Datum: Mit, 5. Mdr 2003 13:04:46 Europe/Zurich
An: daniel oberhoff <email@hidden>
Cc: cocoa-dev <email@hidden>
Betreff: Re: OutlineView
The outlets is populated with the instances unloaded from the nib file
when the nib is loaded, and this is not done in -init, hence you use
awakeFromNib. If you try to access the outlets in init you will find
that they are *nil*, harmless but pointless.
That said, you don't have to display anything before you want to.
Simply de-select the checkbox called "Visible at launch time" for the
window in IB. When the window is not automatically put on screen like
this, you need to do it yourself in code:
[myWindow orderFront: nil];
j o a r
On Wednesday, Mar 5, 2003, at 12:53 Europe/Stockholm, daniel oberhoff
wrote:
i wonder: why do i have to use the awakefromnib? i tend to make
selfcontainede modules which contain all: teh OutlineView, the
Datasource and the item objects and i would like them to initialize
fully before even visible to the environment, so id like to do all
that in init. But: when i overwrite init OR initWithFrame from
NSCofntrol neither ever gets called!???
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.