我有一个EditCombobox,如果我搜索一个在组合框项目中不可用的单词然后选择的项目属性取零而不是搜索值
问题描述:
我有一个EditCombobox,如果我搜索一个在组合框项目中不可用的单词,则选择的项目属性为null而不是搜索值
i have a EditCombobox ,if i search a word which is not available in combobox items then selected item property taking null rather than searched value
答
>>我有一个EditCombobox,如果我搜索一个在组合框项目中不可用的单词,那么选择的项目属性取零而不是搜索值
>>i have a EditCombobox ,if i search a word which is not available in combobox items then selected item property taking null rather than searched value
这是默认行为。
您需要使用ComboBox Text属性。
You need the ComboBox Text property instead.
最好的问候,
Bob