Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

VB6 Combo Boxes

Options
  • 18-01-2007 3:36pm
    #1
    Closed Accounts Posts: 24


    Can anyone tell me how to set up a combo box so that the user can only choose from the items in the combo list and not type in text of their own?

    I tried setting the Locked property to true but this stops me from being able to select whats in the list of items in the drop down menu.

    Any ideas?


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    There should be a DropDownStyle property or something like it.


  • Registered Users Posts: 2,931 ✭✭✭Ginger


    .Style = 2

    Should do it


  • Closed Accounts Posts: 24 holmsey


    Yep that's it, cheers guys


Advertisement