Posted 17 March 2021, 9:52 am EST
Hello,
I’m using combobox with databinding.
I’m defining the comboBox like this:
combo.TranslateValue = True
combo.ItemsDataSource = comboData
combo.ItemsDisplayMember = "DisplayString"
combo.ItemsValueMember = "ItemData"
I need to restrict the user inputs to number only or to short date.
For that, I set the datatype to int32 or datetime but that’s not taken into account due to the translatevalue option set to true.
How can I proceed?