I am working on a project that uses lots of custom class objects.
Before starting work on real project, I tested the object behaviour on a temporary project. And find that if i add the object to a list and combobox and then make any change to the object property then it reflects in list and combobox.
But after using the same process in real project the change does not reflect. Why?
Also, how can i update object property placed in the combobox.
for eg.
Class X has property id and name
created objX of type Class X and set id=1 and name='All'
insert objX to combobox
now, in the same form and in other function when i get objX from combobox and change name='None', then it does not reflect in combobox.
Please help!
Thanks
Before starting work on real project, I tested the object behaviour on a temporary project. And find that if i add the object to a list and combobox and then make any change to the object property then it reflects in list and combobox.
But after using the same process in real project the change does not reflect. Why?
Also, how can i update object property placed in the combobox.
for eg.
Class X has property id and name
created objX of type Class X and set id=1 and name='All'
insert objX to combobox
now, in the same form and in other function when i get objX from combobox and change name='None', then it does not reflect in combobox.
Please help!
Thanks