Preferences Panes

I’m sure this was asked before in the old RB forums, but for the life of me, I can’t remember the answer nor can I find it. So I’ll ask again here.

Is it possible, preferably without plugins, to create a preferences pane app?
I have a project coming up where this would be useful.

While I’m at it, if any Windows devs are here, are control panel applets also a possibility?

Thanks in advance.

Prefs Pane for OS X ?
No
If you check things out in Xcode it requires your “app” be a subclass of NSPreferencePane
That you cant do in Xojo

Thanks for the quick reply Norman.

I thought that was the answer, but it never hurts to ask.

I’m guessing it’s similar for Windows.

The best you might be able to do, which I did once for a screensaver, is have a thin wrapper that is an Xcode based NSPreferences pane that then launches a Xojo app that draws into that pref panes window

Something like that may work

Dunno Windows control panels well enough to know

[quote=278132:@Norman Palardy]The best you might be able to do, which I did once for a screensaver, is have a thin wrapper that is an Xcode based NSPreferences pane that then launches a Xojo app that draws into that pref panes window

Something like that may work[/quote]
That’s an idea.
I might have a look into macoslib (and the windows equivalent), to see if there is anything in there, or something that can point me in the right direction for declares.

Ultimately however, I think a separate utility app might be better for me (now that I think about it). It would be easier to maintain, instead of trying to synchronise separate apps for each platform.
The prefs pane/control panel applet route was just something I was exploring.

Oh you’ll still require some piece in Xcode
And that piece in Xcode is what runs your xojo app

For an example of a preference pane that is just a wrapper which launches another app, check out the Java pref pane.

Sure but don’t use that as an example of good design.
grumble grumble java grumble

[quote=278132:@Norman Palardy]The best you might be able to do, which I did once for a screensaver, is have a thin wrapper that is an Xcode based NSPreferences pane that then launches a Xojo app that draws into that pref panes window

Something like that may work[/quote]

Interesting. Do you like to share the basic code for ?

I have no code for such a thing

OK. I was just wondering as you said you did it once for a screensaver.

For a client from before I worked here - not my code to give away