tremara1 Active Member Licensed User Longtime User Jan 3, 2009 #1 When I use a combo box and clear it the list is cleared but the last value displayed is not cleared. Anyone else have this problem. A simple example has been uploaded.
When I use a combo box and clear it the list is cleared but the last value displayed is not cleared. Anyone else have this problem. A simple example has been uploaded.
klaus Expert Licensed User Longtime User Jan 3, 2009 #2 This is the 'normal' behaviour of the ComboBox. To clear the text, you must add following code cb.Text="" Or, you could use a ListBox. Best regards.
This is the 'normal' behaviour of the ComboBox. To clear the text, you must add following code cb.Text="" Or, you could use a ListBox. Best regards.
tremara1 Active Member Licensed User Longtime User Jan 3, 2009 #3 combo clear Thanks Klaus, The text property is not in the auto complete so I did not try it. Still Learning......................... tremara Ballarat Victoria,Australia
combo clear Thanks Klaus, The text property is not in the auto complete so I did not try it. Still Learning......................... tremara Ballarat Victoria,Australia
klaus Expert Licensed User Longtime User Jan 3, 2009 #4 The ComboBox is a Combination of a ListBox and a TextBox. cb.Clear clears the listbox and cb.Text="" clears the textbox. Best regards.
The ComboBox is a Combination of a ListBox and a TextBox. cb.Clear clears the listbox and cb.Text="" clears the textbox. Best regards.