Combobox type

  • Thread starter Combo box type - help
  • Start date
C

Combo box type - help

Hi.. Im trying to create a combo box to do one of this things.
1st - create a non editable combo box that only allows me to choose one of
the items in the combo list.
2nd - A combo box that allows me to write only the list words. For example
in the case of month list, only allow me to write Jan (like for January) and
does not allow me to write one letter "i" after the "jan" because it doesn't
fit for any of the words in the list.
Thank you for your help..
 
R

Rick Brandt

Combo said:
Hi.. Im trying to create a combo box to do one of this things.
1st - create a non editable combo box that only allows me to choose
one of the items in the combo list.

If by "non-editable" you mean that the user can't change the list of
choices, then that is the normal situation. You would have to do somethign
intentional to allow the list to be edited.
2nd - A combo box that allows me to write only the list words. For
example in the case of month list, only allow me to write Jan (like
for January) and does not allow me to write one letter "i" after the
"jan" because it doesn't fit for any of the words in the list.
Thank you for your help..

Set the LimitToList property of the ComboBox to Yes.
 
C

Combo box type - help

It's not exactly that..
In the first i mean that the user can´t write anything in the combo box just
select one of the bar options..
In the second i mean that the user will be able to write but only one of the
matching words in the combo list. In the month example he will be able to
write "jan" but when he press the "r" key for, example, it wont appear in the
box..it will still say only "jan".. only if e presses the "u" it will
continue to appear.. and the same for all the months!





"Rick Brandt" escreveu:
 

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