Hi
For school I'm making a project for a party and I have a problem with getting a selected item in my combobox.
I have a window with a combobox and a listview.
The listview contains 'stock-objects' (has a ProductID, PartyID, OrderedAmount, Price,...). The combobox is filled with products (with an override function, It shows just the ProductNames).
These products have an ID & a NAME.
Now, If I click on an item in the listview I want the ProductName of that corresponding ProductID to be selected in the combobox.
This has to be done with Binding, but I don't know how.
Anyone has a guess?
Thanks
Thomas
For school I'm making a project for a party and I have a problem with getting a selected item in my combobox.
I have a window with a combobox and a listview.
The listview contains 'stock-objects' (has a ProductID, PartyID, OrderedAmount, Price,...). The combobox is filled with products (with an override function, It shows just the ProductNames).
These products have an ID & a NAME.
Now, If I click on an item in the listview I want the ProductName of that corresponding ProductID to be selected in the combobox.
This has to be done with Binding, but I don't know how.
Anyone has a guess?
Thanks
Thomas