problem with SelectedIndex in Windows 98???

  • Thread starter Thread starter thomaz
  • Start date Start date
T

thomaz

The Combobox SelectedIndex method doesn´t work in windows
98. If no one itens selected this method return ZERO (0)
but the correct is (-1).
According to the visual Studio help if not exist itens
selected the method returns (-1) but always the method
return (0). Zero is the index of the first item of a
combobox.
There is an error in a Combobox SelectedIndex in Windows
98???
Anybody can help me???
Thanks
 
Hi,

Sorry to disagree with you , But I think you have a problem somwhere else,
I have a couple of programs running in W98 and they get the selectedIndex
correctly.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


The Combobox SelectedIndex method doesn´t work in windows
98. If no one itens selected this method return ZERO (0)
but the correct is (-1).
According to the visual Studio help if not exist itens
selected the method returns (-1) but always the method
return (0). Zero is the index of the first item of a
combobox.
There is an error in a Combobox SelectedIndex in Windows
98???
Anybody can help me???
Thanks
 
Back
Top