On Dec 6, 2007 5:35 PM, Ed Leafe <[EMAIL PROTECTED]> wrote:
>
> On Dec 6, 2007, at 5:45 PM, Nate Lowrie wrote:
>
> > Ed, I was looking at the information, and also the code.  Where does
> > the attribute PreferenceManager come from?  I find references but
> > never where it is declared.
>
>         That's a very fundamental property; it's part of dObject.
>
> > I've checked in dPerferenceDialog,
> > dFormMixin, and dPemMixin, none of which had it.  Can you point me to
> > the source?
>
>         Every object in Dabo has a PreferenceManager property, since they
> all descend from dObject.
>
> > The Preference Dialog I am using is something of my own
> > design.  No offense, but the Dabo one looked a bit bland.  The dialog
> > subclasses dOkCancelDialog.  Can I still use the PreferenceManager?
>
>         The PreferenceDialog subclasses dOkCancelDialog, too; it simply uses
> a paged control to present the various pages. It's up to you to make
> the pages as "un-bland" as you need.
>
>         If you roll your own, you'll have to handle all the preference
> saving/reverting yourself.

I figured it out after John pointed me to the source code.   It is not
a problem for me to roll my own.  It is only a couple of lines of
code.

Making it "un-bland" was an interesting endevour.  I ended up using a
dPageFrameNoTabs and a horizontal sizer with panels that housed a
dImage and dLabel used as page selectors (because I couldn't get a
button that would display both pictures and captions below the
pictures).  Looks pretty much like Firefox's option menu.

Cheers,

Nate L.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to