G
giddy
Hi ,
someone brought to my notice sometime ago that the
SelectedValueChanged and SelectedIndexChanged event acts slightly
wierd.
Firstly ,the events fire even if you click/select the currently
selected item.
And secondly ,they fire when one clicks the white space!!(which is
horribly peculiar)
This is what i mean:
http://gidsfiles.googlepages.com/OddListBox.jpg
(clicking on the space below the last item causes the event to fire!)
Heres the code:
http://gidsfiles.googlepages.com/OddListBox.cs.txt
Heres the full solution compiled and everything:
http://gidsfiles.googlepages.com/LstBoxEvent.zip
Thanks
Gideon
someone brought to my notice sometime ago that the
SelectedValueChanged and SelectedIndexChanged event acts slightly
wierd.
Firstly ,the events fire even if you click/select the currently
selected item.
And secondly ,they fire when one clicks the white space!!(which is
horribly peculiar)
This is what i mean:
http://gidsfiles.googlepages.com/OddListBox.jpg
(clicking on the space below the last item causes the event to fire!)
Heres the code:
http://gidsfiles.googlepages.com/OddListBox.cs.txt
Heres the full solution compiled and everything:
http://gidsfiles.googlepages.com/LstBoxEvent.zip
Thanks
Gideon