468,533 Members | 1,903 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,533 developers. It's quick & easy.

DropDownList selecting sole value

How can I get a selected index changed event to fire, when the DropDownList
only has one item?

Thanks,
Rich.
Nov 16 '05 #1
3 1309
Hi Rich
This work by default. the selected index changed event already get fired
even if the dropdownlist have one item if this item is reselected by mouse
. just make sure that in the property panel that dorpDownStyle is set to
dropDownList
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

"Mohamoss" <mo************@egdsc.microsoft.com> wrote in message
news:VR**************@cpmsftngxa06.phx.gbl...
Hi Rich
This work by default. the selected index changed event already get fired
even if the dropdownlist have one item if this item is reselected by mouse
just make sure that in the property panel that dorpDownStyle is set to
dropDownList
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC


Hi Mohamed,

Thanks for you reply.

I can't see a property named DropDownStyle in the DropDownList properties.

Thanks
Rich.
Nov 16 '05 #3
Hi Rich
try using the ComboBox object ( with the same property), what version of VS
are you using?
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Aaron Prohaska | last post: by
3 posts views Thread by Olivier Verdin | last post: by
6 posts views Thread by Pat | last post: by
reply views Thread by Daniel Doyle | last post: by
3 posts views Thread by Piotrek | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.