开发者

Displaying string variable in editable portion of ComboBox

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜