Re: Strange problem showing a window
Re: Strange problem showing a window
- Subject: Re: Strange problem showing a window
- From: Angela Brett <email@hidden>
- Date: Sat, 8 Feb 2003 01:05:24 +1300
Make sure in the gcc settings that you turn on debugging symbols and
have no optimisation set. I have noticed with the latest PB that
when upgrading the project files, it seems to set the optimisation
to a higher level.
That might have had something to do with it, I did recently change
the build style, though I changed it back again to try to find the
source of the problem.
I have no clues as to why he window does not show.
Well, I have now. It turned out that [legendField window] was nil,
even though legendField was not nil, and it sure seems to be on a
window. I assumed that all views knew about the window they're on...
otherwise, what is the window method for? I still don't know why that
didn't work (or why it didn't work, then worked for a while, then
stopped working when I changed the nib) but I added another outlet
for the window and now I use that outlet to show the window instead
of [targetField window]. Does anyone know why the window message
doesn't work? I didn't think the views would be loaded from the nib
without their window... but maybe it has something to do with the
settings in IB. The window has Deferred and One Shot checked. I
should read up on those settings, I've never understood them
properly, I just leave it as it is by default.
--
Angela Brett
email@hidden
http://acronyms.co.nz/angela
_______________________________________________
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.