Yup, exactly what I had in mind!

Thanks to both of you...

-Jean-Nicolas Jolivet


Jean-Nicolas Jolivet wrote:
Thanks! working like a charm!  :)

Oh while I'm on the preference panel subject... I notice that a lot of applications (Adium, Safari, TextMate etc.. comes to mind) are using what looks like a fancy version of tabs in their preference...

Basically it looks like tabs, but instead of actual tabs, the "panels" are controlled by what looks like a toolbar... (so basically, click on a toolbar button to change the active panel...) a bit hard to explain but it's very easy to understand (just look at Safari's preference window for example)...

Is this done with standard controls or is this a custom control?? I'm asking because I see a lot of apps with a similar style of preferene pane and it looks good! :)

Jean-Nicolas Jolivet


Randall Meadows wrote:
On Nov 7, 2008, at 10:27 AM, Jean-Nicolas Jolivet wrote:

I'm working on my App's preference window... To populate the window's control with the UserDefaults, I use the windowDidLoad method, grab the defaults and populate my fields/controls (I'm doing this in my PreferenceController, which is a subclass of NSWindowController)

I was wondering if there is a similar method I can override when the window is closing so that I can save the user's change in the defaults???

NSWindow -windowShouldClose: and -windowWillClose: delegate methods


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/silvertab%40videotron.ca

This email sent to [EMAIL PROTECTED]


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to