开发者

Displaying string variable in editable portion of ComboBox

开发者 https://www.devze.com 2023-01-19 06:55 出处:网络
I have some value in variablestring var=\"some text\"; i have bind the combobox with list but during loadoing ofform i want var t开发者_如何学Pythono be displayed

I have some value in variable string var="some text"; i have bind the combobox with list but during loadoing of form i want var t开发者_如何学Pythono be displayed in editable portion of Combobox... Thanks in advance!!!!


if var is part of your list then: yourcombobox.SelectedText=var if not: yourcombobox.Text=var

0

精彩评论

暂无评论...
验证码 换一张
取 消