I see.  I will try this tonight...

On Dec 4, 2007 2:53 PM, Ed Leafe <[EMAIL PROTECTED]> wrote:
> On Dec 4, 2007, at 4:45 PM, Paul McNett wrote:
>
> >> I have a dCheckbox in a preference dialog and I want it to set the
> >> value of the preference setting "MySetting".  Do I have to create the
> >> glue code by hand or can I bind it with say DataSoruce/DataField?  If
> >> I can bind it, what is the syntax for binding it?
> >
> > I think you should be able to:
> >
> > chkBox.Name = "MySetting"
> > chkBox.SaveRestoreValue = True
> >
> > http://paul.dabodev.com/doc/api/dabodoc/
> > dabo.ui.uiwx.dCheckBox.dCheckBox.html#Properties_SaveRestoreValue
>
>         That will only save the value of the checkbox between runs of his
> pref dialog. To bind the checkbox to the actual preference, you have
> to use the regular DataSource/DataField stuff, as detailed in the wiki.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
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