Comboboxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you restrict the user to select only values listed in the combobox?
(ie. not be allowed to key in his own values)

After that, instead of using the value, as written in the combobox, and
assign it to a variable, I'd like to assign the index number instead. (ie.
choice number 1, 2, etc)

Thanks for the help
 
First part, change the style property to 2 fmStyleDropDownList

Second, get the ListIndex property value of the combobox.
 

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