Group: StrataFrame Users
Posts: 144,
Visits: 618
|
Hi there,
I am using the combobox bound to a BO and also populated by a BO. Its bindingproperty is set to "selectedvalue" and its dropdownstyle to "dropdownlist". When the form starts, the combobox entry-field is empty. I then select one of the values from the listitems and enter the next field.
But what I can not do is deleting the choosen value and setting the combobox to its initial empty state.
I put some code in the keydown-evnmt to ckear it by setting the selectedvalue back to nothing (where it starts with) but this caused an error. The same with setting the selectedvalue to "".
I also tried setting the bindingproperty to text and then set its text-property to "", but this did not work too.
Can someone tell me what to do?
Best regards
Thomas
|