Databinding listbox selection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bart

    Databinding listbox selection

    Hi all,

    I am trying to bind the selected item in a listbox to my application
    property settings. I use the folowing code:

    fontListBox.Dat aBindings.Add(" Text", Properties.Sett ings.Default,
    "Environment_Ge neral_FontName" , false,
    DataSourceUpdat eMode.OnPropert yChanged);

    In my main form I execute Settings.Defaul t.Save() but when i look into my
    'SettingsTest.e xe.config' the value is not updated at all.

    Can someone help me out here,

    Thanks in advance,

    Bart Janisse


Working...