set/saveFrameUsingName
set/saveFrameUsingName
- Subject: set/saveFrameUsingName
- From: Jeremy Dronfield <email@hidden>
- Date: Thu, 4 Jul 2002 21:00:37 +0100
The documentation for windows & panels says:
An NSWindow can store its placement in the user defaults system, so that
it appears in the same location the next time the user starts the
application. The saveFrameUsingName: method stores the frame rectangle,
and setFrameUsingName: sets it from the value in user defaults.
Not in my application it doesn't. I can get it to save and set the SIZE
of a window, but not its placement on screen. When I quit and relaunch
and open the window, it appears with its saved size, but in its default
location in the top left of the screen. I've checked that the frame
isn't locked in IB, and I've tried it with both springy and straight
'wires'. Is this a bug?
- Jeremy.
_______________________________________________
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.