How to protect to write inside of drop down menu

  • Thread starter Thread starter Rob Teixeira [MVP]
  • Start date Start date
R

Rob Teixeira [MVP]

I assume you are using a ComboBox control.
If I read your question correctly, you want the user to be able to click the
list to select an item, but you don't want them to type their own text into
the control.
If that is true, then all you need to do is change the DropDownStyle
property to "DropDownList".

-Rob Teixeira [MVP]
 
* "QT said:
I used a drop down menu with collectin of my required items. There is no
problem to sellect a items from drop down menu. But when I try to write
someting insede drop down without click right arrow, I can write. How can I
protect from writing?

Set the control's 'DropDownStyle' property to 'DropDownList'.
 
Dear Sirs,

I used a drop down menu with collectin of my required items. There is no
problem to sellect a items from drop down menu. But when I try to write
someting insede drop down without click right arrow, I can write. How can I
protect from writing?

Best Regards
 
thank you very much


Rob Teixeira said:
I assume you are using a ComboBox control.
If I read your question correctly, you want the user to be able to click the
list to select an item, but you don't want them to type their own text into
the control.
If that is true, then all you need to do is change the DropDownStyle
property to "DropDownList".

-Rob Teixeira [MVP]

can
 
Dear Herfried,

It was working good after setting DropDownList.

But when I try to set something to text varible with;
Me.cmbAuditor_1.Text = Auditor1

I could not see the text in the field. What should I do?
 
Back
Top