N
Nick Hoggard
Hi All,
Really silly question, but how do I get a combo box to refresh the display
field if I update the object that it is based on.
For example, I am populating my combobox by adding instances of a custom
object. That custom object has a ToString property that the combobox uses
as the display field. If I change a property on the custom object then the
ToString value also changes, but the combobox doesn't get refreshed.
Is there something I can call to make the combobox refresh the display
fields, or do I have to remove then add the item again?
Cheers
Nick Hoggard
Really silly question, but how do I get a combo box to refresh the display
field if I update the object that it is based on.
For example, I am populating my combobox by adding instances of a custom
object. That custom object has a ToString property that the combobox uses
as the display field. If I change a property on the custom object then the
ToString value also changes, but the combobox doesn't get refreshed.
Is there something I can call to make the combobox refresh the display
fields, or do I have to remove then add the item again?
Cheers
Nick Hoggard