P
Programatix
Hi,
I'm having problem with ComboBox. I'm trying to force the ComboBox select
nothing by doing this,
myCombo.SelectedText = ""
myCombo.SelectedIndex = -1
but in vain, as the ComboBox will automatically select the first available
selection.
If I make the ComboBox visible before setting the .SelectedText to "" and
the .SelectedIndex property to -1, it will be successful. But if I put the
ComboBox in a TabControl and I switch between the Tabs in the TabControl,
the ComboBox will automatically reselect the first available selection.
Anyone out there has a solution?
Thanks in advance.
I'm having problem with ComboBox. I'm trying to force the ComboBox select
nothing by doing this,
myCombo.SelectedText = ""
myCombo.SelectedIndex = -1
but in vain, as the ComboBox will automatically select the first available
selection.
If I make the ComboBox visible before setting the .SelectedText to "" and
the .SelectedIndex property to -1, it will be successful. But if I put the
ComboBox in a TabControl and I switch between the Tabs in the TabControl,
the ComboBox will automatically reselect the first available selection.
Anyone out there has a solution?
Thanks in advance.