DropDownList selecting sole value

  • Thread starter Thread starter KavvY
  • Start date Start date
K

KavvY

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

Thanks,
Rich.
 
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
 
Mohamoss said:
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.
 
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
 

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

Back
Top