problem with SelectedIndex in Windows 98???

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top