Results 1 to 3 of 3

Thread: Limit the choices of a combobox to its collection

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354

    Limit the choices of a combobox to its collection

    I must be missing something real obvious here but I can not figure out how to limit a combobox to the items in the drop down only.

    For instance if I have 3 choices in my drop down list:

    Red
    White
    Blue

    I don't want the user to be able to type yellow into it. What am I missing?

  2. #2
    Hyperactive Member scuzymoto's Avatar
    Join Date
    Aug 1999
    Location
    Washington State
    Posts
    316
    Under the DropDownStyle property are three options. The last one DropDownList limits the combobox to only what is in the list. Im 99% on that, if not its one of the other two options.
    SCUZ

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354
    You nailed it. Thank You.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width